test-lib: do not remove trash_directory if called with --debug
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 21 Aug 2008 07:49:12 +0000 (09:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Aug 2008 06:38:25 +0000 (23:38 -0700)
commit5a4a088add3bdcbe86ae7e87964ce4025ddbc389
treecac72e24477925f52665ace7e4e3375a166c1f64
parent4be636f42cd75f865204817c307eb1a7b464109c
test-lib: do not remove trash_directory if called with --debug

Sometimes you want to keep the trash directory, even if all tests
passed.  For example, when extending tests, it comes it quite handy.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh