Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-06-12 00:31:25 +0400
committerJunio C Hamano <gitster@pobox.com>2013-06-12 00:31:25 +0400
commit52faa0e8c80ec8351f735c32d858b167d63a0642 (patch)
treefa789c116672a3751d8038c1d2e86f798778ec56
parentbb1c8fbcc86b31a1e86a1f6cadcb82d67fab1dc0 (diff)
parent04422c74c88e2d5d78210bad65e95b223a18fd8e (diff)
Merge branch 'jk/test-exit-code-by-signal'
* jk/test-exit-code-by-signal: t0005: skip signal death exit code test on Windows t0005: test git exit code from signal death
-rwxr-xr-xt/t0005-signals.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t0005-signals.sh b/t/t0005-signals.sh
index 93e58c00e8..981437b3a8 100755
--- 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