This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add --check-shebang to bisect-runner.pl, to avoid mistakes with #! lines
authorNicholas Clark <nick@ccl4.org>
Thu, 17 Nov 2011 16:59:22 +0000 (17:59 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 17 Nov 2011 16:59:22 +0000 (17:59 +0100)
commit7cffc32dac68b4762a80190eeb650713328f6879
tree4b47fa8610bdccec7a183934cef87262816431a4
parent9b404864a75de7047b7002b6a801a418f84a5a5b
Add --check-shebang to bisect-runner.pl, to avoid mistakes with #! lines

This allows bisect.pl to instruct bisect-runner.pl to check that the user's
testcase is not a script with a #! line which will run an installed perl.
This rapidly catches the potential error of specifying a test case that will
not actually be tested with the bisect-build perl. Without this, the user
may end up with an unexpected failure to bisect, and little clue as to what
the actual problem is.
Porting/bisect-runner.pl
Porting/bisect.pl