From: Jian Yu Date: Mon, 8 Jan 2018 05:25:42 +0000 (-0800) Subject: LU-10435 tests: add version check to conf-sanity test 32e X-Git-Tag: 2.10.58~78 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f51d4361d92647c4411bbb42b5aeb85e4e5288e7;p=fs%2Flustre-release.git LU-10435 tests: add version check to conf-sanity test 32e This patch adds Lustre version check codes into conf-sanity test 32e to make the test interoperate with servers that do not support the DOM feature. Test-Parameters: trivial envdefinitions=ONLY=32e \ mdsjob=lustre-b2_10 ossjob=lustre-b2_10 serverbuildno=52 \ testlist=conf-sanity Change-Id: I6a561d2972dfc1071c0722af5cb265de0423626c Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/30766 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jinshan Xiong Reviewed-by: Bobi Jam Reviewed-by: Mike Pershin Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 441c1e8..09f907a 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -2419,6 +2419,9 @@ test_32d() { run_test 32d "convert ff test" test_32e() { + [[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.10.56) ]] || + { skip "Need MDS version at least 2.10.56"; return 0; } + local tarballs local tarball local rc=0