fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 032
index 6675832320994ef1428cf9059e44bddc40e12840..926de307230ee4cc34988f3d254b3a0f88b91b4d 100755 (executable)
@@ -7,17 +7,12 @@
 # Test xfs_copy for all filesystem sector size / block size
 # combinations possible on this platform.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest copy auto quick
 
-here=`pwd`
-tmp=/tmp/$$
 status=0       # success is the default!
-trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 
 # real QA test starts here
 _supported_fs xfs
@@ -26,8 +21,6 @@ _require_scratch
 _require_test_program "feature"
 _require_xfs_copy
 
-rm -f $seqres.full
-
 SECTORSIZE=`blockdev --getss $SCRATCH_DEV`
 PAGESIZE=`$here/src/feature -s`
 IMGFILE=$TEST_DIR/${seq}_copy.img