summaryrefslogtreecommitdiff
path: root/t/t5515/fetch.br-branches-one
diff options
context:
space:
mode:
authorLibravatar Stephan Beyer <s-beyer@gmx.net>2008-07-12 17:47:51 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-13 13:21:08 -0700
commit5a26973025bce74782571844c7b8091d1cd7c405 (patch)
treeb7ded3306337e38d4818279ea7dfc58186b0a840 /t/t5515/fetch.br-branches-one
parentapply: fix copy/rename breakage (diff)
downloadtgif-5a26973025bce74782571844c7b8091d1cd7c405.tar.xz
t/test-lib.sh: exit with small negagive int is ok with test_must_fail
The test_must_fail function in test-lib.sh has been designed to distinguish segmentation faults from controlled errors. But in the current implementation this only works if a git command does not return a small negative value, like -1, -2 or -3. But some git commands do. Because any signal (like SIGSEGV) will result in an exit status less than 193, this patch just adds a further check for the exit status. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-branches-one')
0 files changed, 0 insertions, 0 deletions