From: Marcus Boerger Date: Fri, 30 Apr 2004 17:54:45 +0000 (+0000) Subject: MFH Bugfix #28229 (PATCH run-tests tripped up by spaces in names) X-Git-Tag: php-4.3.7RC1~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9d700c5c7722efa91b8885635d48fb557cbb5d7;p=php MFH Bugfix #28229 (PATCH run-tests tripped up by spaces in names) --- 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 "