fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 530
index 0e4dd6b5953eb551d5e59b787efc1f6e3a2646cc..4d168ac5b09ac4c42945a5345621006ab3a95389 100755 (executable)
@@ -7,15 +7,10 @@
 # Verify that XFS does not cause bitmap/summary inode fork's extent count to
 # overflow when growing an the realtime volume of the filesystem.
 #
-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 realtime growfs
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -24,15 +19,11 @@ _cleanup()
        rm -f $tmp.* $TEST_DIR/$seq.rtvol
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/inject
 . ./common/populate
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 _supported_fs xfs