From 5f00d6f5fce28c7cee3b400601e265358e3cdc66 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Mon, 26 Feb 2018 10:59:50 -0700 Subject: [PATCH] LU-9444 tests: replace SINGLEMDS1 with SINGLEMDS In conf-sanity test 87, we use the global variable SINGLEMDS1 to get the version of the MDS. SINGLEMDS1 is not defined and the test should use SINGLEMDS to check the version of the MDS. Test-Parameters: trivial testlist=conf-sanity Test-Parameters: envdefinitions=ONLY=87 mdsjob=lustre-b2_9 ossjob=lustre-b2_9 serverbuildno=22 testlist=conf-sanity Signed-off-by: James Nunez Change-Id: Ic8b1f32b87cc596fcc2e98d5b6095b6e4171bfd7 Reviewed-on: https://review.whamcloud.com/31420 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Saurabh Tandan Reviewed-by: Andreas Dilger --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index a63ff9f..79718b2 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -6169,7 +6169,7 @@ test_86() { run_test 86 "Replacing mkfs.lustre -G option" test_87() { #LU-6544 - [[ $(lustre_version_code $SINGLEMDS1) -ge $(version_code 2.9.51) ]] || + [[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.9.51) ]] || { skip "Need MDS version at least 2.9.51" && return; } [[ $(facet_fstype $SINGLEMDS) != ldiskfs ]] && { skip "ldiskfs only test" && return; } -- 1.8.3.1