fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 188
index 2879a107a80b1d6f1018d090191604ec9793b8ac..d40e4123ca4d0c807d72ca8c4cf9ec486c141796 100755 (executable)
 # 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 /
@@ -29,20 +26,17 @@ _cleanup()
     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