fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 281
index 1ff769cf46c0e538c7d42185cebf371a73e54521..ea1147612e94ccf12a6546c3a92a8af93bee0baf 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # Test that xfsdump can generate a format 2 dump.
 #
-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
@@ -22,8 +17,7 @@ _cleanup()
        rm -f $tmp.*
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/dump
 
 # real QA test starts here