fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 285
index 6bc53ae0f756d0abec502f4a52fcc25227f1c2c0..711211d412a6a4cef0ad51f8e4174641afb2a7b5 100755 (executable)
@@ -6,23 +6,12 @@
 #
 # Race fio and xfs_scrub for a while to see if we crash or livelock.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dangerous_fuzzers dangerous_scrub
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 7 15
+_register_cleanup "_cleanup" BUS
 
-_cleanup()
-{
-       cd /
-       rm -rf $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/fuzzy
 . ./common/inject