# value in XFS stressing leaf block traversal in
# node form directories as well.
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest ci dir auto
-here=`pwd`
-tmp=/tmp/$$
status=0 # success is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+# Override the default cleanup function.
_cleanup()
{
cd /
rm -rf $SCRATCH_MNT/$seq
}
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
# real QA test starts here
_supported_fs xfs
_require_scratch
_require_xfs_mkfs_ciname
-rm -f $seqres.full
_scratch_mkfs -n version=ci >/dev/null 2>&1
_scratch_mount
-status=1 # default failure
sourcefile=$tmp.ci_nametest
seed=1