fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 273
index 0099ada5764e00c2cd17067a58ebe210bd69cac2..b5458a7731790af933852f5fd1b308af30ddadfd 100755 (executable)
@@ -8,15 +8,12 @@
 #
 #creator
 
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto rw
 
-here=`pwd`
-tmp=/tmp/$$
 status=0       # success is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -24,7 +21,6 @@ _cleanup()
        _scratch_unmount
 }
 
-. ./common/rc
 . ./common/filter
 
 threads=50
@@ -116,8 +112,6 @@ echo "------------------------------"
 echo "start the workload"
 echo "------------------------------"
 
-rm -f $seqres.full
-
 _scratch_unmount 2>/dev/null
 _scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
 _scratch_mount