summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-04-30 08:18:54 (GMT)
committerMarcus Boerger <helly@php.net>2004-04-30 08:18:54 (GMT)
commit6f699cea5f8c2017b8964b13f8cc45bfc2e8fa41 (patch)
treebf2a8d6c20f70963591ac760c6d55aeb5bdad8c9 /run-tests.php
parentbf87bf816cc414629fab6d03c475b67febae2da0 (diff)
downloadphp-6f699cea5f8c2017b8964b13f8cc45bfc2e8fa41.tar.gz
Bugfix #28229 (PATCH run-tests tripped up by spaces in names)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index dbd74eb..ef1e342 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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 "