2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2013 Oracle, Inc. All Rights Reserved.
7 # Test to verify that turn group/project quotas off while user quotas
11 _begin_fstest auto quick quota
13 # Import common functions.
17 # Modify as appropriate.
25 _scratch_mkfs_xfs -m crc=1 >/dev/null 2>&1
27 _qmount_option "uquota,gquota,pquota"
30 QUOTA_DIR=$SCRATCH_MNT/quota_dir
33 echo "*** turn off group quotas"
34 xfs_quota -x -c 'off -g' $SCRATCH_MNT
41 echo "*** turn off project quotas"
42 xfs_quota -x -c 'off -p' $SCRATCH_MNT
49 echo "*** turn off group/project quotas"
50 xfs_quota -x -c 'off -gp' $SCRATCH_MNT