fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 167
index 0b5e8937d13eba79e85a7b1192bfa919aac4a183..fb271cfa1369e3d02125545495b4e9da4ac98357 100755 (executable)
 # This could be fixed by the following kernel commit:
 # ac0b4145d662 ("btrfs: scrub: Don't use inode pages for device replace")
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick replace volume
 
-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
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 # Modify as appropriate.