Bugfix #28229 (PATCH run-tests tripped up by spaces in names)

This commit is contained in:
Marcus Boerger 2004-04-30 08:18:54 +00:00
parent bf87bf816c
commit 6f699cea5f

View File

@ -814,7 +814,7 @@ TEST $file
putenv("CONTENT_TYPE=application/x-www-form-urlencoded");
putenv("CONTENT_LENGTH=$content_length");
$cmd = "$php$pass_options$ini_settings -f $tmp_file 2>&1 < $tmp_post";
$cmd = "$php$pass_options$ini_settings -f \"$tmp_file\" 2>&1 < $tmp_post";
} else {
@ -822,7 +822,7 @@ TEST $file
putenv("CONTENT_TYPE=");
putenv("CONTENT_LENGTH=");
$cmd = "$php$pass_options$ini_settings -f $tmp_file$args 2>&1";
$cmd = "$php$pass_options$ini_settings -f \"$tmp_file\" $args 2>&1";
}
if (DETAILED) echo "