fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 174
index ec2c04b077ba33189614fb360ea682859a8ed63f..8bf856ae9e8d28a0eb00668537dbb93e5e1b1501 100755 (executable)
@@ -7,26 +7,11 @@
 # Test restrictions on operations that can be done on an active swap file
 # specific to Btrfs.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick swap
 
-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
 
-rm -f $seqres.full
-
 _supported_fs btrfs
 _require_scratch_swapfile