summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c30e742)
raw | patch | inline | side by side (parent: c30e742)
author | Johannes Sixt <j6t@kdbg.org> | |
Fri, 9 Jul 2010 07:05:16 +0000 (09:05 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 9 Jul 2010 23:27:31 +0000 (16:27 -0700) |
ksh93 is known to report $? of programs that terminated by a signal as
256 + signal number instead of 128 + signal number like other POSIX
compliant shells (ksh's behavior is still POSIX compliant in this regard).
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
256 + signal number instead of 128 + signal number like other POSIX
compliant shells (ksh's behavior is still POSIX compliant in this regard).
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0005-signals.sh | patch | blob | history |
diff --git a/t/t0005-signals.sh b/t/t0005-signals.sh
index 09f855af3e9cded903c828f3f946a0c2403ddcdf..93e58c00e886db22b5ebf86af103efc4e65ec832 100755 (executable)
--- a/t/t0005-signals.sh
+++ b/t/t0005-signals.sh
test-sigchain >actual
case "$?" in
143) true ;; # POSIX w/ SIGTERM=15
+ 271) true ;; # ksh w/ SIGTERM=15
3) true ;; # Windows
*) false ;;
esac &&