fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 262
index 4c6c060988e02275b70c9cc42cce25a577886012..78db5e342142d0b44fe3734170a41b012e1fbeba 100755 (executable)
@@ -8,23 +8,12 @@
 # repair mode (which will rebuild the data forks of the running scrub
 # executable and libraries!) to see what happens.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dangerous_fuzzers dangerous_scrub dangerous_online_repair
 
-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