fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 126
index 08d6ed4ef99cb270c38a31b4953423f3fc5e983b..a13a0a6e8ef4d44968ef0625e80f790abd6e259b 100755 (executable)
@@ -6,27 +6,11 @@
 #
 # Regression test for leaking data space after hitting EDQUOTA
 #
-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/filter
+. ./common/preamble
+_begin_fstest auto quick qgroup limit
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
+# Import common functions.
+. ./common/filter
 
 # real QA test starts here