test-lib: fix http exit codes
authorClemens Buchacher <drizzd@aon.at>
Mon, 1 Jun 2009 12:28:25 +0000 (14:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jun 2009 05:45:01 +0000 (22:45 -0700)
commita5adcbe377de7c8f5d794fce1fe2b23a0bddf758
treed351f37b2c9befdf8657f6a5d0c1a855e361bd29
parent6e7b5aaf40dac54edcbd7e0a859d26f526ef643e
test-lib: fix http exit codes

Previously, die() would report the exit code of stop_httpd. Instead,
save and reset the exit code before dying.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh