summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-04-30 17:54:45 +0000
committerMarcus Boerger <helly@php.net>2004-04-30 17:54:45 +0000
commita9d700c5c7722efa91b8885635d48fb557cbb5d7 (patch)
tree3e49a8b05972e6d9f88dd21d9eee88ed486d7794
parenta750e94013686b75f87038a5f160185606ebd5c3 (diff)
downloadphp-git-a9d700c5c7722efa91b8885635d48fb557cbb5d7.tar.gz
MFH Bugfix #28229 (PATCH run-tests tripped up by spaces in names)
-rw-r--r--NEWS1
-rwxr-xr-xrun-tests.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c63caa8598..263036bde8 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ PHP 4 NEWS
then 1 character long. (Ilia)
- Fixed handling of return values from storred procedures in mssql_execute()
with multiple result sets returned. (Frank)
+- Fixed bug #28229 (run-tests tripped up by spaces in names). (Marcus)
- Fixed bug #28228 (number_format() does not allow empty decimal separator).
(Ilia)
- Fixed bug #28196 (missing error constants in cURL extension). (Ilia)
diff --git a/run-tests.php b/run-tests.php
index c08cc56682..fd494e417f 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -680,7 +680,7 @@ TEST $file
putenv("CONTENT_TYPE=application/x-www-form-urlencoded");
putenv("CONTENT_LENGTH=$content_length");
- $cmd = "$php$ini_settings -f $tmp_file 2>&1 < $tmp_post";
+ $cmd = "$php$ini_settings -f \"$tmp_file\" 2>&1 < $tmp_post";
} else {
@@ -688,7 +688,7 @@ TEST $file
putenv("CONTENT_TYPE=");
putenv("CONTENT_LENGTH=");
- $cmd = "$php$ini_settings -f $tmp_file$args 2>&1";
+ $cmd = "$php$ini_settings -f \"$tmp_file\" $args 2>&1";
}
if (DETAILED) echo "