fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 466
index 95a3b05c51be24f745026007155a9c9bbf9ae527..4059c9eacf788a46be1554211748cdf53fc13531 100755 (executable)
@@ -6,23 +6,10 @@
 #
 # Check that high-offset reads and writes work.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick rw
 
-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
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -30,8 +17,6 @@ _supported_fs generic
 _require_scratch_nocheck
 _require_block_device $SCRATCH_DEV
 
-rm -f $seqres.full
-
 echo "Silence is golden"
 
 # clear MKFS_OPTIONS which may contain user specified block size value, and