fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 038
index a719883110c421e7582851679d29e499d5a6e07e..633c51e0bb45493565518468902eb995aa253af6 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # Test xfsdump/restore 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