From f318ba710d7dbefe9a89ed80b70f391028137498 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Tue, 14 May 2013 21:22:25 -0600 Subject: [PATCH] LU-3313 tests: Skip sanityn test_51b sanityn test_51b now checks the metadata server version and will run the test for versions 2.3.59 and above. The test will be skipped for all other server versions. Signed-off-by: James Nunez Change-Id: I040a77a3564e4801413ff342519ba10c54583e70 Reviewed-on: http://review.whamcloud.com/6340 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Keith Mannthey Reviewed-by: Oleg Drokin --- lustre/tests/sanityn.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index 56c3da6..951c1bd 100644 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -2300,6 +2300,9 @@ test_51a() { run_test 51a "layout lock: refresh layout should work" test_51b() { + [[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.3.59) ]] || + { skip "Need MDS version at least 2.3.59"; return 0; } + local tmpfile=`mktemp` # create an empty file -- 1.8.3.1