fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 231
index fe6c93999fd4699a7bf38311192afa68578fe56c..c2216659bb2e4e1e82ef611a31fe6c180b614970 100755 (executable)
@@ -7,17 +7,10 @@
 # Run fsx with quotas enabled and verify accounted quotas in the end
 #
 # Derived from test 127
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quota
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/quota
 
@@ -53,7 +46,6 @@ _require_scratch
 _require_quota
 _require_user
 
-rm -f $seqres.full
 _scratch_mkfs >> $seqres.full 2>&1
 _scratch_mount "-o usrquota,grpquota"
 chmod 777 $SCRATCH_MNT