sanity-quota test_62() is always skipped because
of wrong chattr project ID support check.
chattr.c:
Usage: %s [-pRVf] [-+=aAcCdDeijPsStTuFx] [-v version] files...
Let's remove this check: e2fsprogs project ID support for
chattr/lsattr exists since 2016. If one is using so old chattr
- he will be forced to update by error "root failed to clear
inherit".
Fixes:
2d3bbce0c9 ("LU-11101 quota: fix setattr project check")
Test-Parameters: trivial testlist=sanity-quota env=ONLY=62
Signed-off-by: Elena Gryaznova <elena.gryaznova@hpe.com>
HPE-bug-id: LUS-9967
Change-Id: I0cfd98735e5e0b5956f3dd6385ce626584443bea
Reviewed-on: https://review.whamcloud.com/45697
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vladimir Saveliev <vlaidimir.saveliev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
test_62() {
! is_project_quota_supported &&
skip "Project quota is not supported"
test_62() {
! is_project_quota_supported &&
skip "Project quota is not supported"
- [[ "$(chattr -h 2>&1)" =~ "project" ]] ||
+ [[ "$(chattr -h 2>&1)" =~ "project" ||
+ "$(chattr -h 2>&1)" =~ "pRVf" ]] ||
skip "chattr did not support project quota"
setup_quota_test || error "setup quota failed with $?"
local testdir=$DIR/$tdir/
skip "chattr did not support project quota"
setup_quota_test || error "setup quota failed with $?"
local testdir=$DIR/$tdir/