]> git.pld-linux.org Git - packages/mksh.git/blame - mksh-exit_tests.patch
- patch to test suite for nonzero exit code when failed
[packages/mksh.git] / mksh-exit_tests.patch
CommitLineData
d36544fa
KK
1--- check.pl~ 2011-05-09 14:35:34.357336648 +0100
2+++ check.pl 2011-05-09 14:48:30.991232019 +0100
3@@ -324,7 +324,11 @@
4 local($sig, $exitcode) = ('', 1);
5
6 if ($_[0] eq 'ok') {
7- $exitcode = 0;
8+ unless ($nxfailed) {
9+ $exitcode = 0;
10+ } else {
11+ $exitcode = 1;
12+ }
13 } elsif ($_[0] ne '') {
14 $sig = $_[0];
15 }
This page took 0.036587 seconds and 4 git commands to generate.