#
# 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