2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
7 # pv 801241 - check for reference leaks from the *handle xfsctls
10 _begin_fstest other auto quick
12 # Override the default cleanup function.
18 _scratch_unmount 2>/dev/null
21 # Import common functions.
24 # real QA test starts here
31 _scratch_unmount >/dev/null 2>&1
32 echo "*** MKFS ***" >>$seqres.full
33 echo "" >>$seqres.full
34 _scratch_mkfs_xfs >>$seqres.full 2>&1 \
35 || _fail "mkfs failed"
42 if ! touch $SCRATCH_MNT/fish
44 echo "!!! failed to touch fish"
48 if ! $here/src/xfsctl $SCRATCH_MNT $SCRATCH_MNT/fish >>$seqres.full 2>&1
50 echo "!!! failed to run xfsctl test program"
54 if ! rm $SCRATCH_MNT/fish
56 echo "!!! failed to remove fish"
60 # pv 801241 causes corruption here (inode left in agi_unlinked list)