summaryrefslogtreecommitdiff
path: root/tests/btrfs/057
diff options
context:
space:
mode:
Diffstat (limited to 'tests/btrfs/057')
-rwxr-xr-xtests/btrfs/05723
1 files changed, 4 insertions, 19 deletions
diff --git a/tests/btrfs/057 b/tests/btrfs/057
index bf9ab14a..074ac96a 100755
--- a/tests/btrfs/057
+++ b/tests/btrfs/057
@@ -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