]> git.pld-linux.org Git - packages/mksh.git/commitdiff
- patch to test suite for nonzero exit code when failed
authorKacper Kornet <draenog@pld-linux.org>
Mon, 9 May 2011 22:09:52 +0000 (22:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mksh-exit_tests.patch -> 1.1

mksh-exit_tests.patch [new file with mode: 0644]

diff --git a/mksh-exit_tests.patch b/mksh-exit_tests.patch
new file mode 100644 (file)
index 0000000..d676dc4
--- /dev/null
@@ -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];
+     }
This page took 0.109596 seconds and 4 git commands to generate.