From: Vincent Pit Date: Fri, 23 Oct 2009 20:34:04 +0000 (+0200) Subject: Cap the exit code of the bisecting script X-Git-Tag: v5.11.2~151 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/7930c68bef8756f446d89fffb07160cf4a27f4cc 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