diff options
| -rw-r--r-- | ext/standard/tests/file/bug26615.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug26615.phpt b/ext/standard/tests/file/bug26615.phpt index f13af59991..36f7b0feac 100644 --- a/ext/standard/tests/file/bug26615.phpt +++ b/ext/standard/tests/file/bug26615.phpt @@ -6,7 +6,7 @@ Bug #26615 (exec crash on long input lines) <?php $out = array(); $status = -1; -exec('/usr/bin/seq 5000 | tr \'\n\' \' \'', $out, $status); +exec($_ENV['TEST_PHP_EXECUTABLE'].' -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \' \'', $out, $status); print_r($out); ?> --EXPECT-- |
