fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 223
index 078fd72573044122f97ad1c26c56138d280e9e75..2a5811241877fcf7c72d7611aa71a6c27f592421 100755 (executable)
@@ -6,23 +6,10 @@
 #
 # File alignment tests
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-
-_cleanup()
-{
-    rm -f $tmp.*
-}
-
-trap "_cleanup ; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -31,8 +18,6 @@ _supported_fs generic
 _require_scratch
 _require_xfs_io_command "falloc"
 
-rm -f $seqres.full
-
 BLOCKSIZE=4096
 
 for SUNIT_K in 8 16 32 64 128; do