#
# Test to verify Q_XQUOTARM functionality.
#
-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
-
-_cleanup()
-{
- cd /
- rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
. ./common/quota
_require_scratch
_require_xfs_quota
-rm -f $seqres.full
-
_scratch_mkfs_xfs | _filter_mkfs > /dev/null 2> $tmp.mkfs
. $tmp.mkfs
_scratch_xfs_db -c "inode $QINO_2" -c "p core.nblocks"
}
-
# Test user and group first
_qmount_option "uquota,gquota"
_qmount