From f99fa029fd904ac13f33ab82de37fd07a69aea84 Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Sun, 19 Jan 2020 10:16:25 +0800 Subject: [PATCH] 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. Test-Parameters: trivial envdefinitions=ONLY=66 testlist=sanity-quota Change-Id: I829f424b9bb103e18c06de6f797827f82e1874d1 Signed-off-by: Wang Shilong Reviewed-on: https://review.whamcloud.com/37276 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Nunez --- lustre/tests/sanity-quota.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 4689018..037ff4b 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -3489,6 +3489,8 @@ run_test 65 "Check lfs quota result" 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 \ -- 1.8.3.1