repo.or.cz
/
git
/
mingw.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add git_config_early()
[git/mingw.git]
/
t
/
t0005-signals.sh
blob
93e58c00e886db22b5ebf86af103efc4e65ec832
1
#!/bin/sh
2
3
test_description
=
'signals work as we expect'
4
. .
/
test-lib.sh
5
6
cat
>
expect
<<EOF
7
three
8
two
9
one
10
EOF
11
12
test_expect_success
'sigchain works'
'
13
test-sigchain >actual
14
case "$?" in
15
143) true ;; # POSIX w/ SIGTERM=15
16
271) true ;; # ksh w/ SIGTERM=15
17
3) true ;; # Windows
18
*) false ;;
19
esac &&
20
test_cmp expect actual
21
'
22
23
test_done