From: randall.s.becker@rogers.com Date: Fri, 19 Jan 2018 17:34:04 GMT Subject: [PATCH v2 4/6] Force test suite traps to be cleared for NonStop ksh Message-ID: <20180119173406.13324-6-randall.s.becker@rogers.com> In-Reply-To: <20180119173406.13324-1-randall.s.becker@rogers.com> From: "Randall S. Becker" * 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 --- 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