Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t: translate SIGINT to an exit
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index c09677802cce067a946a2550cdd2d8ef33434e81..f4ba3ff972680065469f063c83ae90207bbab0b4 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-299,6
+299,7
@@
die () {
GIT_EXIT_OK=
trap 'die' EXIT
+trap 'exit $?' INT
# The user-facing functions are loaded from a separate file so that
# test_perf subshells can have them too