From: Jian Yu Date: Tue, 29 Jan 2013 04:12:59 +0000 (+0800) Subject: LU-2693 tests: check Lustre version in conf-sanity test 66 X-Git-Tag: 2.3.61~72 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=a3548adb8effd0793d24e8db9b720eefd1a65e82 LU-2693 tests: check Lustre version in conf-sanity test 66 Lustre starts supporting the "replace nids" feature (commit 6aa30ff) since version 2.3.59. We need add a Lustre version check into conf-sanity test 66 to make sure the test does not run on unsupported Lustre version. Test-Parameters: envdefinitions=SLOW=yes \ serverjob=lustre-b2_1 serverbuildno=164 \ testlist=conf-sanity Signed-off-by: Jian Yu Change-Id: I7eee38664e66059bbc028c3eb7d9741b1351b883 Reviewed-on: http://review.whamcloud.com/5198 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Keith Mannthey Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 63c9aaa4..0a84732 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -3440,6 +3440,9 @@ test_65() { # LU-2237 run_test 65 "re-create the lost last_rcvd file when server mount" test_66() { + [[ $(lustre_version_code mgs) -ge $(version_code 2.3.59) ]] || + { skip "Need MGS version at least 2.3.59"; return 0; } + setup local OST1_NID=$(do_facet ost1 $LCTL list_nids | head -1) local MDS_NID=$(do_facet $SINGLEMDS $LCTL list_nids | head -1)