Code

test-lib: allow exit trap to be used for cleanup by tests
authorClemens Buchacher <drizzd@aon.at>
Mon, 1 Jun 2009 12:14:41 +0000 (14:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jun 2009 05:44:54 +0000 (22:44 -0700)
commit6e7b5aaf40dac54edcbd7e0a859d26f526ef643e
tree1698fa9147247070599ff2efd0f67c3be12e57f7
parent1f729dca9334ccadbe78768fc792178f4bb8b6e2
test-lib: allow exit trap to be used for cleanup by tests

Exit trap should not be removed in case tests require cleanup code. This
is especially important if tests are executed with the --immediate option.

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