[PATCH 4/6] explain expected exit code
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Jan 4, 2012, 15:55 UTC
- Message-ID
- <1325692539-26748-5-git-send-email-drizzd@aon.at>
- In-Reply-To
- <1325692539-26748-1-git-send-email-drizzd@aon.at>
--- t/lib-daemon.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/t/lib-daemon.sh b/t/lib-daemon.sh index 5edced5..4701124 100644 --- a/t/lib-daemon.sh +++ b/t/lib-daemon.sh @@ -62,6 +62,10 @@ stop_daemon() { kill_children "$DAEMON_PID" wait "$DAEMON_PID" ret=$? + # + # We signal TERM=15 to the child and expect the parent to + # exit with 143 = 128+15. + # if test $ret -ne 143 then error "git daemon exited with status: $ret"
-- 1.7.8