fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 026
index c0a5a8c655d28e1d9d29fa2bca6642519c6062a2..29ebb5aab62187e66ef2f0b95c96a5b8ed307022 100755 (executable)
@@ -6,15 +6,12 @@
 #
 # Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dump ioctl auto quick
 
-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()
 {
        _cleanup_dump
@@ -22,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