Re: [PATCH 1/2] t/test-lib.sh: support Korn shell by converting GIT_EXIT_OK to GIT_EXIT_CODE
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 10, 2009, 00:57 UTC
- Message-ID
- <7vocogdq10.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <ee63ef30910091537i40a8cc68y2513f07c91fb35b@mail.gmail.com>
Brandon Casey <drafnel@gmail.com> writes:
Show 5 quoted lines
> I'm away from a computer right now. Junio, if gmail is showing me the > entirety of your workaround, then no, I don't think that will work. > Your code will always exit non-zero, but there are cases where 'exit > 0' is called and a '0' exit status is desired. e.g. when test_done is > called.
Ah, of course you are right.