From 99bb66404dc645ae66e0f9822542b3b22a35e47c Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Thu, 20 Oct 2011 18:09:44 +0000 Subject: [PATCH] there is a length limit on the shebang line, ignore the tests for >= 127 --- sapi/cli/tests/021.phpt | 4 ++++ 1 file changed, 4 insertions(+) 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--