fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 601
index d935d2e30257c5902a1b8ce62afb8127583afeb9..f3f3ec9e16aabf29d4308ff2a8dc295e2987deb7 100755 (executable)
 # This test only exercises user quota because it's not known whether the
 # filesystem can set individual grace timers for each quota type
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick quota
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/quota
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_scratch