From: Vincent Pit Date: Fri, 23 Oct 2009 20:34:04 +0000 (+0200) Subject: Cap the exit code of the bisecting script X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7930c68bef8756f446d89fffb07160cf4a27f4cc;p=p5sagit%2Fp5-mst-13.2.git Cap the exit code of the bisecting script Segfaults cause $? to be set to 139 on my machine, which stops the bisect process. --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 2924b39..a72be28 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -565,6 +565,7 @@ testcase: [ -x ./perl ] || exit 125 ./perl -Ilib ~/testcase.pl ret=$? + [ $ret -gt 127 ] && ret=127 git clean -dxf exit $ret