fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 202
index e9bae375e8b0c62a6a8f696a67d9a67a37f6f16a..c1fa3c3ffd6d897e6b39e4fecbdf8a09b8aa26fe 100755 (executable)
@@ -5,25 +5,10 @@
 #
 # Regression test for fix "btrfs: fix invalid removal of root ref"
 #
-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.*
-}
-
-. ./common/rc
-. ./common/filter
+. ./common/preamble
+_begin_fstest auto quick subvol snapshot
 
-rm -f $seqres.full
+. ./common/filter
 
 _supported_fs btrfs