4 # pv 801241 - check for reference leaks from the *handle xfsctls
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
25 umount $SCRATCH_MNT 2>/dev/null
27 trap "_cleanup; exit \$status" 0 1 2 3 15
29 # get standard environment, filters and checks
33 # real QA test starts here
42 umount $SCRATCH_DEV >/dev/null 2>&1
43 echo "*** MKFS ***" >>$seq.full
45 _scratch_mkfs_xfs >>$seq.full 2>&1 \
46 || _fail "mkfs failed"
47 _scratch_mount >>$seq.full 2>&1 \
48 || _fail "mount failed"
54 if ! touch $SCRATCH_MNT/fish
56 echo "!!! failed to touch fish"
60 if ! src/xfsctl $SCRATCH_MNT $SCRATCH_MNT/fish >>$seq.full 2>&1
62 echo "!!! failed to run xfsctl test program"
66 if ! rm $SCRATCH_MNT/fish
68 echo "!!! failed to remove fish"
72 # pv 801241 causes corruption here (inode left in agi_unlinked list)