Merge branch 'sg/daemon-test-signal-fix'

Test fix.

* sg/daemon-test-signal-fix:
  t/lib-git-daemon: fix signal checking
This commit is contained in:
Junio C Hamano 2018-12-01 21:41:43 +09:00
commit 97b6d63717

View file

@ -92,7 +92,7 @@ stop_git_daemon() {
kill "$GIT_DAEMON_PID"
wait "$GIT_DAEMON_PID" >&3 2>&4
ret=$?
if test_match_signal 15 $?
if ! test_match_signal 15 $ret
then
error "git daemon exited with status: $ret"
fi