Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/test-exit-code-by-signal'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Jun 2013 20:31:25 +0000
(13:31 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Jun 2013 20:31:25 +0000
(13:31 -0700)
* jk/test-exit-code-by-signal:
t0005: skip signal death exit code test on Windows
t0005: test git exit code from signal death
t/t0005-signals.sh
patch
|
blob
|
history
raw
(from parent 1:
bb1c8fb
)
diff --git
a/t/t0005-signals.sh
b/t/t0005-signals.sh
index 93e58c00e886db22b5ebf86af103efc4e65ec832..981437b3a88b86ee1ddd26f842a0048b8dc2b57f 100755
(executable)
--- a/
t/t0005-signals.sh
+++ b/
t/t0005-signals.sh
@@
-20,4
+20,11
@@
test_expect_success 'sigchain works' '
test_cmp expect actual
'
+test_expect_success !MINGW 'signals are propagated using shell convention' '
+ # we use exec here to avoid any sub-shell interpretation
+ # of the exit code
+ git config alias.sigterm "!exec test-sigchain" &&
+ test_expect_code 143 git sigterm
+'
+
test_done