summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-27 19:23:09 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-27 19:23:09 +0000
commitccd16d09c045f9fbce3bd14a4fd6814536b8e389 (patch)
tree78fa05d37426bc4c66ef0919bae4e141f06d33c1 /run-tests.php
parentbcc95ae09b316a71ee11788386dc6c1e8868c486 (diff)
downloadphp-git-ccd16d09c045f9fbce3bd14a4fd6814536b8e389.tar.gz
MFH
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/run-tests.php b/run-tests.php
index c6bf1fce2f..952be2759c 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -115,7 +115,7 @@ if (getenv('TEST_PHP_EXECUTABLE')) {
if (getenv('TEST_PHP_CGI_EXECUTABLE')) {
$php_cgi = getenv('TEST_PHP_CGI_EXECUTABLE');
if ($php_cgi=='auto') {
- $php_cgi = $cwd.'/sapi/cgi/php';
+ $php_cgi = $cwd.'/sapi/cgi/php-cgi';
putenv("TEST_PHP_CGI_EXECUTABLE=$php_cgi");
}
$environment['TEST_PHP_CGI_EXECUTABLE'] = $php_cgi;
@@ -1051,9 +1051,9 @@ TEST $file
} elseif (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) ."/php-cgi.exe")) {
$old_php = $php;
$php = realpath(dirname($php) ."/php-cgi.exe") .' -C ';
- } elseif (file_exists("./sapi/cgi/php")) {
+ } elseif (file_exists("./sapi/cgi/php-cgi")) {
$old_php = $php;
- $php = realpath("./sapi/cgi/php") . ' -C ';
+ $php = realpath("./sapi/cgi/php-cgi") . ' -C ';
} else {
show_result("SKIP", $tested, $tested_file, "reason: CGI not available");
return 'SKIPPED';