fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 141
index defe4b0f41dcdff050297f4453f8d1b2031474ab..d9b2474daa8085b7f4a3af0fc718649b7ef48632 100755 (executable)
 #
 # Note that this test requires a DEBUG mode kernel.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+. ./common/preamble
+_begin_fstest auto log metadata
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -28,10 +23,7 @@ _cleanup()
        wait > /dev/null 2>&1
 }
 
-rm -f $seqres.full
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/inject
 
 # real QA test starts here