cvs: php4 /ext/standard/tests/file bug22414.phpt
| From: | Ilia Alshanetsky | Date: | Sat, 19 Apr 2003 18:10:55 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/file bug22414.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20398@lists.php.net to get a copy of this message | ||
iliaa Sat Apr 19 14:10:55 2003 EDT
Modified files:
/php4/ext/standard/tests/file bug22414.phpt
Log:
Do not hardcode php path.
Index: php4/ext/standard/tests/file/bug22414.phpt
diff -u php4/ext/standard/tests/file/bug22414.phpt:1.4
php4/ext/standard/tests/file/bug22414.phpt:1.5
--- php4/ext/standard/tests/file/bug22414.phpt:1.4 Sat Apr 19 13:45:46 2003
+++ php4/ext/standard/tests/file/bug22414.phpt Sat Apr 19 14:10:54 2003
@@ -21,7 +21,7 @@
/* Binary Data Test */
@unlink($pwd . '/passthru_test');
- $cmd = "sapi/cli/php -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\"";
+ $cmd = $php . " -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\"";
$cmd = $php . ' -r \' passthru("'.$cmd.'"); \' > ' .
$pwd . '/passthru_test';
exec($cmd);