fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 091
index a8d5d5e63b0e1401263e8f401542724fe6b883ef..9c02e36d8f69ab03ad4aaac6f4f61bd476bac7b2 100755 (executable)
@@ -6,17 +6,10 @@
 #
 # fsx exercising direct IO -- sub-block sizes and concurrent buffered IO
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "rm -f $tmp.*; 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
@@ -24,8 +17,6 @@ _supported_fs generic
 _require_test
 _require_odirect
 
-rm -f $seqres.full
-
 psize=`$here/src/feature -s`
 bsize=`_min_dio_alignment $TEST_DEV`