From: James Nunez Date: Wed, 6 Feb 2019 19:17:41 +0000 (-0700) Subject: LU-11010 tests: remove calls to return after skip() X-Git-Tag: 2.10.7-RC1~44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f8bb7b1a04543de759b863ee06cfccb83d908856;p=fs%2Flustre-release.git LU-11010 tests: remove calls to return after skip() The skip() routine now contains a call to exit. All calls to skip() and skip_env() should be reviewed and calls to return that followed skip should be removed. A problem with the skip message not being printed is corrected. This patch is partial backport (sanity-pfl is not modified) from: Lustre-commit: ea76de56fccfdc6f8bd0087adc36c19257e414d3 Lustre-change: https://review.whamcloud.com/32346 Signed-off-by: James Nunez Change-Id: I1a52e9bd79a71de4ab4c0cea9c569f379115a603 Reviewed-on: https://review.whamcloud.com/34199 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Wei Liu --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 902fd0f0..5237a05 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -5384,7 +5384,7 @@ skip_noexit() { } skip() { - skip_noexit + skip_noexit $@ exit 0 }