diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2004-01-04 03:06:11 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2004-01-04 03:06:11 +0000 |
commit | 27f47eb173fa5c1022c986f63dd506fd2eedfc66 (patch) | |
tree | 72436052d6184a988ef3d4cee6c85fb98eebbbc5 | |
parent | 69b6c151581dfd3e92fd09eb6659814f928b1c72 (diff) | |
download | php-git-27f47eb173fa5c1022c986f63dd506fd2eedfc66.tar.gz |
"seq" isn't available for all platforms.
-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-- |