Re: [PATCH 2/5] test_must_fail: 129 is a valid error code from usage()
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 25, 2008, 10:01 UTC
- Message-ID
- <alpine.LSU.1.00.0803251100520.10660@wbgn129.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vbq53nvaz.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 24 Mar 2008, Junio C Hamano wrote:
Show 10 quoted lines
> diff --git a/t/test-lib.sh b/t/test-lib.sh
> index 870b255..7c2a8ba 100644
> --- a/t/test-lib.sh
> +++ b/t/test-lib.sh
> @@ -300,7 +300,7 @@ test_expect_code () {
>
> test_must_fail () {
> "$@"
> - test $? -gt 0 -a $? -le 128
> + test $? -gt 0 -a $? -le 129IIRC exit status is a signed byte on Win32. Can somebody check? I'll be in a hurry in 1.5 hours and travelling for two days.
Ciao, Dscho