From: Kacper Kornet Date: Mon, 9 May 2011 22:09:52 +0000 (+0000) Subject: - patch to test suite for nonzero exit code when failed X-Git-Tag: auto/th/mksh-40-2~13 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fmksh.git;a=commitdiff_plain;h=d36544fab5d1841177f7bf82b841ca6401e67e73 - patch to test suite for nonzero exit code when failed Changed files: mksh-exit_tests.patch -> 1.1 --- diff --git a/mksh-exit_tests.patch b/mksh-exit_tests.patch new file mode 100644 index 0000000..d676dc4 --- /dev/null +++ b/mksh-exit_tests.patch @@ -0,0 +1,15 @@ +--- check.pl~ 2011-05-09 14:35:34.357336648 +0100 ++++ check.pl 2011-05-09 14:48:30.991232019 +0100 +@@ -324,7 +324,11 @@ + local($sig, $exitcode) = ('', 1); + + if ($_[0] eq 'ok') { +- $exitcode = 0; ++ unless ($nxfailed) { ++ $exitcode = 0; ++ } else { ++ $exitcode = 1; ++ } + } elsif ($_[0] ne '') { + $sig = $_[0]; + }