Revert "generic/38[3-6]: require project quota to be enabled on SCRATCH_DEV"
PATCH 1/1 Revert "generic/38[3-6]: require project quota to be enabled on SCRATCH_DEV"
Commit 23f60ef304d ("generic/38[3-6]: require project quota to be enabled on SCRATCH_DEV") introduced a regression that leads _require_projquota, which uses src/feature to call a quotactl, operate before the filesystem is mounted, and results in tests not run on XFS and ext4.
Revert the problematic patch first, because don't want to lose project quota test coverage on XFS and ext4. We can fix the false failure on ext3/2 later,
--- tests/generic/383 | 1 - tests/generic/384 | 2 +- tests/generic/385 | 2 +- tests/generic/386 | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-)
tests/generic/383 +0 -1
@@ -54,7 +54,6 @@ _require_xfs_quota_foreign _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV do_project_test() {
tests/generic/384 +1 -1
@@ -73,10 +73,10 @@ chmod a+rwx $seqres.full # arbitrary users will write here _require_scratch _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV report_quota() {
tests/generic/385 +1 -1
@@ -71,9 +71,9 @@ quota_cmd="$XFS_QUOTA_PROG -D $tmp.projects -P $tmp.projid" _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV # # Create the project root
tests/generic/386 +1 -1
@@ -127,10 +127,10 @@ echo $proj_num:$proj_dir > "$my_projects" _scratch_mkfs >> "$seqres.full" 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV mkdir -p "${proj_dir}"
Signature · 1 line
2.9.3
Quoted 6 lines · Eryu Guan
Commit
23f60ef304d("generic/38[3-6]: require project quota to be enabled onSCRATCH_DEV") introduced a regression that leads_require_projquota, which uses src/feature to call a quotactl, operate before the filesystem is mounted, and results in tests not run on XFS and ext4.
Quoted 6 lines
Revert the problematic patch first, because don't want to lose project quota test coverage on XFS and ext4. We can fix the false failure on ext3/2 later,
Reported-by Eric Sandeen <[email protected]>Signed-off-by Eryu Guan <[email protected]>
Quoted 67 lines
--- tests/generic/383 | 1 - tests/generic/384 | 2 +- tests/generic/385 | 2 +- tests/generic/386 | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-)tests/generic/383 +0
-1@@ -54,7 +54,6 @@ _require_xfs_quota_foreign _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV do_project_test() {tests/generic/384 +1
-1@@ -73,10 +73,10 @@ chmod a+rwx $seqres.full # arbitrary users will write here _require_scratch _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV report_quota() {tests/generic/385 +1
-1@@ -71,9 +71,9 @@ quota_cmd="$XFS_QUOTA_PROG -D $tmp.projects -P $tmp.projid" _scratch_mkfs >/dev/null 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV # # Create the project roottests/generic/386 +1
-1@@ -127,10 +127,10 @@ echo $proj_num:$proj_dir > "$my_projects" _scratch_mkfs >> "$seqres.full" 2>&1 _scratch_enable_pquota -_require_prjquota $SCRATCH_DEV _qmount_option "prjquota" _qmount +_require_prjquota $SCRATCH_DEV mkdir -p "${proj_dir}"