mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
there is a length limit on the shebang line, ignore the tests for >= 127
This commit is contained in:
parent
b873f0ebf0
commit
99bb66404d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue