# Test to verify project quota xfs_admin, xfsdump/xfsrestore and
# xfs_db functionality
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-tmp=/tmp/$$
-here=`pwd`
-status=1 # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-rm -f $seqres.full
-
-# get standard environment, filters and checks
-. ./common/rc
+. ./common/preamble
+_begin_fstest auto dump quota quick
+
+# Import common functions.
. ./common/quota
. ./common/dump
+# Override the default cleanup function.
_cleanup()
{
_cleanup_dump