From: Wang Shilong Date: Sun, 19 Jan 2020 02:16:25 +0000 (+0800) Subject: LU-13154 test: skip sanity-quota 66 if MDS version < 2.12.4 X-Git-Tag: 2.12.5-RC1~82 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F37350%2F2;p=fs%2Flustre-release.git LU-13154 test: skip sanity-quota 66 if MDS version < 2.12.4 Since LU-12826 landed after this version, add version check to make interop test pass. Lustre-change: https://review.whamcloud.com/37276 Lustre-commit: f99fa029fd904ac13f33ab82de37fd07a69aea84 Test-Parameters: trivial envdefinitions=ONLY=66 testlist=sanity-quota Change-Id: I829f424b9bb103e18c06de6f797827f82e1874d1 Signed-off-by: Wang Shilong Reviewed-by: Andreas Dilger Reviewed-by: James Nunez Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/37350 Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 8599387..0b0e4ad 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -3526,6 +3526,8 @@ run_test 64 "lfs project on symlink files should fail" test_66() { ! is_project_quota_supported && skip "Project quota is not supported" + [ "$MDS1_VERSION" -lt $(version_code 2.12.4) ] && + skip "Not supported before 2.12.4" setup_quota_test || error "setup quota failed with $?" stack_trap cleanup_quota_test EXIT local old=$(do_facet mds1 $LCTL get_param -n \