fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 023
index de7dbadcb90c0baebe447deb2b9ed78e79161b16..1ff406a68978d0bd69eb565a210e502bb6eb858c 100755 (executable)
@@ -8,15 +8,12 @@
 # files with data created by src/fill.
 #
 seqfull=$0
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dump ioctl tape
 
-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
@@ -24,8 +21,7 @@ _cleanup()
        rm -f $tmp.*
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/dump
 
 # real QA test starts here