fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 009
index 4fc8466a479a8b587275086531078b2e04465843..54270243ff87b2e64aa85926e35bc2457a3e56d9 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # XFS allocator test (preallocation - allocp, resvsp ,etc)
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+. ./common/preamble
+_begin_fstest rw ioctl auto prealloc quick
 
+# Override the default cleanup function.
 _cleanup()
 {
     echo "*** unmount"
@@ -39,8 +34,7 @@ _init()
     fi
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here