From: James Nunez Date: Wed, 6 Dec 2017 00:17:16 +0000 (-0700) Subject: LU-10316 tests: skip checksum check for sanity 77c X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1332698e39723ce5684f062ed969efdcf2d01536;p=fs%2Flustre-release.git LU-10316 tests: skip checksum check for sanity 77c sanity test 77c does not need to verify the checksum for some versions of Lustre servers. The code to skip the checksum verification is in place, but it is missing a 'retun 0;' to exit the test. Test-Parameters: trivial Signed-off-by: James Nunez Change-Id: I9ea19f699d1142475f84d59b9c31880b7daf7f52 --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index b1b61eb..c0cb561 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6362,7 +6362,7 @@ test_77c() { [[ "$orig_cksum" == "$dump_cksum" ]] || error "dump content does not match on Client" - $check_ost || skip "No need to check cksum dump on OSS" + $check_ost || { skip "No need to check cksum dump on OSS"; return 0; } # check cksum dump on OSS ost_file=$(do_facet ost1 ls ${ost_file_prefix}\*)