From: Ferenc Kovacs Date: Thu, 20 Oct 2011 18:09:44 +0000 (+0000) Subject: there is a length limit on the shebang line, ignore the tests for >= 127 X-Git-Tag: php-5.3.9RC1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bbbfadcfef82c3513adeb34ae8a19bf00af3317;p=php there is a length limit on the shebang line, ignore the tests for >= 127 --- 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--