fstests: move test group info to test files
[xfstests-dev.git] / tests / ext4 / 037
index a6022a2c21db5abcf7f4f7dd24f1141d4d206bda..5ecb9f83b80ff7ae1dd995d3a0c9a85473c19e19 100755 (executable)
@@ -9,23 +9,10 @@
 #
 # 744692d ext4: use ext4_get_block_write in buffer write
 #
-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 quick
+
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -34,8 +21,6 @@ _supported_fs ext3 ext4
 # nofsck as we modify sb via debugfs
 _require_scratch_nocheck
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
 echo "Silence is golden"
 
 _scratch_mkfs >>$seqres.full 2>&1