From 6f699cea5f8c2017b8964b13f8cc45bfc2e8fa41 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 30 Apr 2004 08:18:54 +0000 Subject: [PATCH] Bugfix #28229 (PATCH run-tests tripped up by spaces in names) --- run-tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.php b/run-tests.php index dbd74eba10f..ef1e3420a54 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 "