From f51d4361d92647c4411bbb42b5aeb85e4e5288e7 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Sun, 7 Jan 2018 21:25:42 -0800 Subject: [PATCH] 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 --- lustre/tests/conf-sanity.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.8.3.1