fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 037
index 3f90f9e76f36b523549aafce39e6879281b03716..b3fbbedd1b1c45a0e2f3a89ebb34f65e04655573 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # Test xfsdump/restore minrmt to a remote linux tape 
 #
-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 remote tape
 
+# 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