fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 131
index 395b6cc5b979c10c6a55eb95b06b8a8679a6201e..81e5d9bc90c785c8e10c582466461705aee3307a 100755 (executable)
@@ -6,28 +6,12 @@
 #
 # Test free space tree mount options.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick
 
-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
+# Import common functions.
 . ./common/filter
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 _supported_fs btrfs