Skip to contentSkip to conversation

generic/506: fix to call _scratch_enable_pquota()

PATCH In review Chao Yu 2 participants 2 messages May 29, 2023 – Jun 1, 2023

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/1 generic/506: fix to call _scratch_enable_pquota()

Otherwise, this testcase will fail due to project quota feature is not enabled in the image.

---
 tests/generic/506 | 1 +
 1 file changed, 1 insertion(+)
tests/generic/506 +1 -0
index ec91af78..d4aac68b 100755
@@ -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
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Chao Yu

Otherwise, this testcase will fail due to project quota feature is not enabled in the image.

---
 tests/generic/506 | 1 +
 1 file changed, 1 insertion(+)
tests/generic/506 +0 -0
index ec91af78..d4aac68b 100755

tests/generic/506 _require_quota · line 34

Quoted 4 lines
tests/generic/506 +1 -0
@@ -31,6 +31,7 @@ _require_quota
 _require_scratch_shutdown
 
 _scratch_mkfs >/dev/null 2>&1
+_scratch_enable_pquota

Make sense,

Quoted 6 lines
tests/generic/506 +0 -0
 _require_metadata_journaling $SCRATCH_DEV
 _qmount_option "prjquota"
 _qmount
Signature · 1 line
2.40.1