fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 057
index bf9ab14a89b2e41297df34ad7a6f0a69c7c04e68..074ac96abcda95b26182197639d405738a505eb5 100755 (executable)
@@ -6,31 +6,16 @@
 #
 # Quota rescan stress test, we run fsstress and quota rescan concurrently
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1
-
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+. ./common/preamble
+_begin_fstest auto quick
+
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
 _supported_fs btrfs
 _require_scratch
 
-rm -f $seqres.full
-
 run_check _scratch_mkfs "-b 1g"
 
 _scratch_mount