fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 187
index 7da09abd735dfcf0a4e3243dff9e728ae3fbe20b..574636a61313789f5ae4d1bea51c362c7dfb7167 100755 (executable)
 # with large differences between the parent and send snapshots in order to hit
 # such issues with a good probability.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
+. ./common/preamble
+_begin_fstest auto send dedupe clone balance
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/attr
 . ./common/filter
 . ./common/reflink
@@ -36,8 +25,6 @@ _supported_fs btrfs
 _require_scratch_dedupe
 _require_attrs
 
-rm -f $seqres.full
-
 # We at least need 8GB of free space on $SCRATCH_DEV
 _require_scratch_size $((8 * 1024 * 1024))