fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 384
index a9cd67489c86a8604bbe78f58656ee30131f4ace..8d93b781a1b9c23d17a06a4775805ad187823315 100755 (executable)
@@ -7,26 +7,20 @@
 # test to reproduce PV951636:
 #   project quotas not updated if a file is mv'd into that directory
 #
-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 generic