fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 035
index a772650fd8494cfc0e9bc1e721420003a006b594..4ddc5bf651165959839e8ac49160974f4f226668 100755 (executable)
@@ -6,23 +6,10 @@
 #
 # Regression test for overwriting clones
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick clone
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-
-_cleanup()
-{
-    rm -f $tmp.*
-}
-
-trap "_cleanup ; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/filter.btrfs