fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 050
index e7c81d0a091e0b96dafeab28b6a7eacf81f48faa..1847611beb3b107bf50fecf22588dc9a8fed0aea 100755 (executable)
@@ -7,26 +7,20 @@
 # Exercises basic XFS quota functionality
 #       uquota, gquota, uqnoenforce, gqnoenforce, pquota, pqnoenforce
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest quota auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/quota
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
        _scratch_unmount 2>/dev/null
        rm -f $tmp.*
 }
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs