fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 240
index 91ab55e7d4a0667e01ed8e77eddefaa328e4ee51..27b5119ec907f617f8df71232fd21778af4d8b82 100755 (executable)
 # This test need only be run in the case where the logical block size
 # of the device can be smaller than the file system block size.
 #
-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
-
-_cleanup()
-{
-    cd /
-    rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+. ./common/preamble
+_begin_fstest auto aio quick rw
+
+# Import common functions.
 . ./common/filter
 
 _supported_fs generic
@@ -41,7 +28,6 @@ _require_aiodio aiodio_sparse2
 echo "Silence is golden."
 
 # real QA test starts here
-rm -f $seqres.full
 
 rm -f $TEST_DIR/aiodio_sparse