From 2bf0f9873af6524b974851abf680866e06d26505 Mon Sep 17 00:00:00 2001 From: Quentin Bouget Date: Fri, 2 Mar 2018 08:22:25 +0000 Subject: [PATCH] LU-10723 tests: disable sanity 232b before 2.10.58 The fix that allows test_232b of sanity.sh to pass was introduced in lustre 2.10.58 so the test should not be run before this version. Signed-off-by: Quentin Bouget Change-Id: I7c625e916bfd0d4a614cc9924670bffe4ba3b8b0 Reviewed-on: https://review.whamcloud.com/31487 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c83bd97..58ebd66 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -14645,6 +14645,8 @@ test_232a() { run_test 232a "failed lock should not block umount" test_232b() { + [ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.10.58) ] || + { skip "Need MDS version at least 2.10.58"; return; } mkdir -p $DIR/$tdir $LFS setstripe -c1 -i0 $DIR/$tdir/$tfile dd if=/dev/zero of=$DIR/$tdir/$tfile bs=1M count=1 -- 1.8.3.1