From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 12/12] test/run: Return 0 from run(), exit value already reflects failures Date: Tue, 17 May 2022 14:36:14 +0200 Message-ID: <20220517123614.1892316-13-sbrivio@redhat.com> In-Reply-To: <20220517123614.1892316-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6247422967583057076==" --===============6247422967583057076== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit There's no need to return non-zero if there have been failures in run(), because the exit value is already determined from the number of failures reported in the log file. Return zero, so that this doesn't cause the script to fail, given we now run it with -e. Signed-off-by: Stefano Brivio --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index 737fa81..d9e5107 100755 --- a/test/run +++ b/test/run @@ -110,7 +110,7 @@ run() { "Interrupted, press any key to quit" \ 9 - return ${STATUS_FAIL} + return 0 } # demo() - Simpler path for demo purposes -- 2.35.1 --===============6247422967583057076==--