From 5f5281e3a4d263ea8db5f2665d32f4b4da6066c4 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Tue, 5 Dec 2017 17:17:16 -0700 Subject: [PATCH] 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. This is a port from master to b2_10 of Lustre change: https://review.whamcloud.com/#/c/30402/ Lustre commit: 1332698e39723ce5684f062ed969efdcf2d01536 Test-Parameters: trivial Signed-off-by: James Nunez Change-Id: I9ea19f699d1142475f84d59b9c31880b7daf7f52 Reviewed-on: https://review.whamcloud.com/30653 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Saurabh Tandan --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index fe9d507..725463c 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6197,7 +6197,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}\*) -- 1.8.3.1