fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 260
index f4da030237a329f906df8d474208b6d5de4fe55d..a780365f904803d4770af2d4bb509b5074508232 100755 (executable)
 # (mkfs.xfs: fix ASSERT on too-small device with stripe geometry)
 #
 
-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 auto quick mkfs
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -27,11 +22,7 @@ _cleanup()
        rm -f $localfile
 }
 
-# get standard environment, filters and checks
-. ./common/rc
-
-# remove previous $seqres.full before test
-rm -f $seqres.full
+# Import common functions.
 
 echo 'Silence is golden'