fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 071
index 4f5d531be50111e83a4d431ddd460ed03c27fa9d..cd1de2642a96020b462a302791fac9845fdde875 100755 (executable)
@@ -7,23 +7,10 @@
 # Run btrfs replace operations and remount with different compress
 # algorithms simultaneously with fsstress running in background.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto replace remount compress volume
 
-here=`pwd`
-tmp=/tmp/$$
-status=1
-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
 
 # real QA test starts here
@@ -34,8 +21,6 @@ _require_scratch_dev_pool 5
 _require_scratch_dev_pool_equal_size
 _btrfs_get_profile_configs replace
 
-rm -f $seqres.full
-
 run_test()
 {
        local mkfs_opts=$1