From: "Randall S. Becker" <rsbecker@xxxxxxxxxxxxx> * t/lib-git-daemon.sh: fix incompatibilities with ksh traps not being cleared automatically on platform. This caused tests to seem to fail while actually succeeding. Signed-off-by: Randall S. Becker <rsbecker@xxxxxxxxxxxxx> --- t/lib-git-daemon.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/lib-git-daemon.sh b/t/lib-git-daemon.sh index 987d40680..955beecd9 100644 --- a/t/lib-git-daemon.sh +++ b/t/lib-git-daemon.sh @@ -68,6 +68,7 @@ start_git_daemon() { test_skip_or_die $GIT_TEST_GIT_DAEMON \ "git daemon failed to start" fi + trap '' EXIT } stop_git_daemon() { @@ -89,4 +90,6 @@ stop_git_daemon() { fi GIT_DAEMON_PID= rm -f git_daemon_output + + trap '' EXIT } -- 2.16.0.31.gf1a482c