fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 198
index 330fcee25d44e11f54ef59c617779cfcb2477c2d..b3e175a25bf963dc95c2a1e4cfb1ef34af0e3538 100755 (executable)
@@ -8,29 +8,13 @@
 #  Bug fixed in:
 #    btrfs: remove identified alien device in open_fs_devices
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest 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
 . ./common/filter.btrfs
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs btrfs
 _require_command "$WIPEFS_PROG" wipefs