fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 560
index 9a371c0e12da609b5da428faadcc79f8d296f67b..e3f28667ab039b9b2a73d9a2c03d28737e1e0de8 100755 (executable)
@@ -8,29 +8,13 @@
 # times (d0 -> d1, d1 -> d2, ... dn-1 -> dn), dedupe dataN everytime
 # before copy. At last, verify dataN same with data0.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto stress dedupe
 
-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/reflink
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_scratch_duperemove