fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 282
index 333b7d22ae3d30fe250ec8cce9a7022806f06802..07a4623afb6028292ce9d3c1d4abcd55ae24e23c 100755 (executable)
@@ -8,15 +8,10 @@
 # level 0 - format 2
 # level 1 - current format
 #
-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 dump ioctl auto quick
 
+# Override the default cleanup function.
 _cleanup()
 {
        _cleanup_dump
@@ -24,8 +19,7 @@ _cleanup()
        rm -f $tmp.*
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/dump
 
 # real QA test starts here