diff mbox series

generic/506: fix to call _scratch_enable_pquota()

Message ID 20230529131741.2642570-1-chao@kernel.org (mailing list archive)
State New, archived
Headers show
Series generic/506: fix to call _scratch_enable_pquota() | expand

Commit Message

Chao Yu May 29, 2023, 1:17 p.m. UTC
Otherwise, this testcase will fail due to project quota feature is not
enabled in the image.

Signed-off-by: Chao Yu <chao@kernel.org>
---
 tests/generic/506 | 1 +
 1 file changed, 1 insertion(+)

Comments

Zorro Lang June 1, 2023, 9:57 a.m. UTC | #1
On Mon, May 29, 2023 at 09:17:41PM +0800, Chao Yu wrote:
> Otherwise, this testcase will fail due to project quota feature is not
> enabled in the image.
> 
> Signed-off-by: Chao Yu <chao@kernel.org>
> ---
>  tests/generic/506 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/generic/506 b/tests/generic/506
> index ec91af78..d4aac68b 100755
> --- a/tests/generic/506
> +++ b/tests/generic/506
> @@ -31,6 +31,7 @@ _require_quota
>  _require_scratch_shutdown
>  
>  _scratch_mkfs >/dev/null 2>&1
> +_scratch_enable_pquota

Make sense,

Reviewed-by: Zorro Lang <zlang@redhat.com>

>  _require_metadata_journaling $SCRATCH_DEV
>  _qmount_option "prjquota"
>  _qmount
> -- 
> 2.40.1
>
diff mbox series

Patch

diff --git a/tests/generic/506 b/tests/generic/506
index ec91af78..d4aac68b 100755
--- a/tests/generic/506
+++ b/tests/generic/506
@@ -31,6 +31,7 @@  _require_quota
 _require_scratch_shutdown
 
 _scratch_mkfs >/dev/null 2>&1
+_scratch_enable_pquota
 _require_metadata_journaling $SCRATCH_DEV
 _qmount_option "prjquota"
 _qmount