there is a length limit on the shebang line, ignore the tests for >= 127

This commit is contained in:
Ferenc Kovacs 2011-10-20 18:09:44 +00:00
parent db2d36de3e
commit 465cb32c4c

View file

@ -6,6 +6,10 @@ include 'skipif.inc';
if (substr(PHP_OS, 0, 3) == 'WIN') {
die ("skip not for Windows");
}
if (strlen("#!".getenv('TEST_PHP_EXECUTABLE')) > 127) {
die ("skip shebang is too long, see http://www.in-ulm.de/~mascheck/various/shebang/#results");
}
?>
--FILE--
<?php