From: Zorro Lang Date: Sun, 29 May 2022 09:03:36 +0000 (+0800) Subject: generic/506: call _require_quota before _qmount X-Git-Tag: v2022.06.05~10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=78af5961e41e905779035a765280c7193cad150e;p=xfstests-dev.git generic/506: call _require_quota before _qmount The g/506 fails on some filesystems (e.g. overlay) which doesn't support prjquota: MOUNT_OPTIONS = -o prjquota qmount failed To avoid this failure, call _require_quota before doing real quota mount. Signed-off-by: Zorro Lang Reviewed-by: Dave Chinner Reviewed-by: Darrick J. Wong --- diff --git a/tests/generic/506 b/tests/generic/506 index 25a5b0f8..ec91af78 100755 --- a/tests/generic/506 +++ b/tests/generic/506 @@ -27,6 +27,7 @@ _begin_fstest shutdown auto quick metadata quota _supported_fs generic _require_scratch +_require_quota _require_scratch_shutdown _scratch_mkfs >/dev/null 2>&1