In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/7930c68bef8756f446d89fffb07160cf4a27f4cc?hp=3513da74e0f2c30b5ec85278b6e69f8751be9184>

- Log -----------------------------------------------------------------
commit 7930c68bef8756f446d89fffb07160cf4a27f4cc
Author: Vincent Pit <[email protected]>
Date:   Fri Oct 23 22:34:04 2009 +0200

    Cap the exit code of the bisecting script
    
    Segfaults cause $? to be set to 139 on my machine, which stops the bisect
    process.

M       pod/perlrepository.pod

commit 68814ba41330ad31d01867d22786a3d8197b605c
Author: Vincent Pit <[email protected]>
Date:   Fri Oct 23 22:26:57 2009 +0200

    "-x ./foo" isn't a shell command, but "[ -x ./foo ]" is

M       pod/perlrepository.pod
-----------------------------------------------------------------------

Summary of changes:
 pod/perlrepository.pod |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod
index f1d439e..a72be28 100644
--- a/pod/perlrepository.pod
+++ b/pod/perlrepository.pod
@@ -562,9 +562,10 @@ testcase:
   perl -ni -we 'print unless /<(?:built-in|command)/' makefile x2p/makefile
   # if you just need miniperl, replace test_prep with miniperl
   make -j4 test_prep
-  -x ./perl || exit 125
+  [ -x ./perl ] || exit 125
   ./perl -Ilib ~/testcase.pl
   ret=$?
+  [ $ret -gt 127 ] && ret=127
   git clean -dxf
   exit $ret
 

--
Perl5 Master Repository

Reply via email to