fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 278
index 7683ad699aa7cf46dee100f0dbe050dc6c591070..4a7e330994ab8492ba05844630ebb627c6232655 100755 (executable)
@@ -8,30 +8,18 @@
 # at the first run. See also commit 198b747f255346bca64408875763b6ca0ed3d57d
 # from xfsprogs tree.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest repair auto
 
-here=`pwd`
-tmp=/tmp/$$
 status=0       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
-_cleanup()
-{
-    cd /
-    rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
 _supported_fs xfs
 _require_scratch
 
-rm -f $seqres.full
 _scratch_mkfs >$seqres.full 2>&1
 _scratch_mount