From 59fe09dee6dd8b45d12ee80abaa24103db13c776 Mon Sep 17 00:00:00 2001 From: Saurabh Tandan Date: Tue, 25 Apr 2017 16:18:55 -0700 Subject: [PATCH] LU-8103 tests: Skip sanity test_404 for interop mode Skip sanity test_404 if the server version is older than 2.8.53 for interop mode. This needs to be done due to the patch http://review.whamcloud.com/19637/ which was introduced in ticket LU-6601. Test-Parameters: trivial Signed-off-by: Saurabh Tandan Change-Id: I96271380cb7c3c09877de13c31c98367f74aad22 Reviewed-on: https://review.whamcloud.com/26827 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 46dae9c..c9fa183 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -15922,6 +15922,10 @@ test_403() { run_test 403 "i_nlink should not drop to zero due to aliasing" test_404() { # LU-6601 + local server_version=$(lustre_version_code $SINGLEMDS) + [[ $server_version -ge $(version_code 2.8.53) ]] || + { skip "Need server version newer than 2.8.52"; return 0; } + remote_mds_nodsh && skip "remote MDS with nodsh" && return local mosps=$(do_facet $SINGLEMDS $LCTL dl | awk '/osp .*-osc-MDT/ { print $4}') -- 1.8.3.1