fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 244
index 17941eb56ff9100291438cfa6c9fdf86cefe4e10..28f1328ad975ae10c07d578f2e9be1226b773aff 100755 (executable)
@@ -6,20 +6,14 @@
 #
 # test to verify that proper project quota id is correctly set
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quota quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/quota
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -36,7 +30,6 @@ _require_projid16bit
 
 export MOUNT_OPTIONS="-opquota"
 
-rm -f $seqres.full
 # make fs with no projid32bit
 _scratch_mkfs_xfs -i projid32bit=0 >> $seqres.full || _fail "mkfs failed"
 _qmount