fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 596
index 8d5166a9491989626c191a7173bf4d7679581257..2113d7f104abd23fee051ff37f46c21165eed74a 100755 (executable)
@@ -8,28 +8,19 @@
 # PF_MEMALLOC before exiting xfsaild thread").  If the bug exists, a kernel
 # WARNING should be triggered.  See the commit message for details.
 #
-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 quick
 
+# Override the default cleanup function.
 _cleanup()
 {
        $ACCTON_PROG off >> $seqres.full
        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
 _supported_fs generic
 _require_bsd_process_accounting