mirror of
https://github.com/git/git.git
synced 2024-12-04 23:44:14 +08:00
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
This commit is contained in:
commit
52faa0e8c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user