From: Quentin Bouget Date: Fri, 2 Mar 2018 08:22:25 +0000 (+0000) Subject: LU-10723 tests: disable sanity 232b before 2.10.58 X-Git-Tag: 2.10.59~11 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F31487%2F2;p=fs%2Flustre-release.git 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 --- 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