fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 060
index de866014680ee703f598ef4bda9fd82efa7f9aae..733245db08ec3632eedaca715c24f02ff15520cb 100755 (executable)
@@ -6,29 +6,13 @@
 #
 # Test metadata only copy up functionality.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick metacopy
 
-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/attr
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs overlay
 # We use non-default scratch underlying overlay dirs, we need to check