diff options
author | Ferenc Kovacs <tyrael@php.net> | 2011-10-20 18:09:44 +0000 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2011-10-20 18:09:44 +0000 |
commit | 465cb32c4cffb8334a4238bd6d647cbf78a8020c (patch) | |
tree | 8dd6ca4fcd76a9a0d48acf1414797357132624a4 | |
parent | db2d36de3e984f5bd5b13aeb3cd067544f066ac6 (diff) | |
download | php-git-465cb32c4cffb8334a4238bd6d647cbf78a8020c.tar.gz |
there is a length limit on the shebang line, ignore the tests for >= 127
-rw-r--r-- | sapi/cli/tests/021.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/tests/021.phpt b/sapi/cli/tests/021.phpt index a4442b0e02..2ddd688903 100644 --- a/sapi/cli/tests/021.phpt +++ b/sapi/cli/tests/021.phpt @@ -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 |