cvs: php-src /ext/standard/tests/file bug26615.phpt
| From: | Moriyoshi Koizumi | Date: | Sun, 04 Jan 2004 03:06:12 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/file bug26615.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25527@lists.php.net to get a copy of this message | ||
moriyoshi Sat Jan 3 22:06:12 2004 EDT
Modified files:
/php-src/ext/standard/tests/file bug26615.phpt
Log:
"seq" isn't available for all platforms.
Index: php-src/ext/standard/tests/file/bug26615.phpt
diff -u php-src/ext/standard/tests/file/bug26615.phpt:1.1
php-src/ext/standard/tests/file/bug26615.phpt:1.2
--- php-src/ext/standard/tests/file/bug26615.phpt:1.1 Sat Dec 13 13:55:53 2003
+++ php-src/ext/standard/tests/file/bug26615.phpt Sat Jan 3 22:06:11 2004
@@ -6,7 +6,7 @@
<?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--