fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 133
index f9351fc83fe122801b9ffa13d36ffc1d7b38a188..73f628c4513be65b113ba6255ec6e378052f24b4 100755 (executable)
 # So, create this malformed inode and try a buffered append to make
 # sure we catch this situation.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dangerous_fuzzers
 
 PIDS=""
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
-_cleanup()
-{
-       rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -36,8 +26,6 @@ _supported_fs xfs
 _require_scratch_nocheck
 _disable_dmesg_check
 
-rm -f $seqres.full
-
 echo "Format and mount"
 _scratch_mkfs  >> $seqres.full 2>&1
 _scratch_mount