fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 151
index cd18f895fd696b54f8b3b94b41ba60f9b6c36c7c..3150fef07e191c8841ebe37d263e5f19e1a51fa4 100755 (executable)
 # The fix is
 #      Btrfs: avoid losing data raid profile when deleting a device
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick volume
 
-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
 
 # Modify as appropriate.