]> granicus.if.org Git - php/commitdiff
Bugfix #28229 (PATCH run-tests tripped up by spaces in names)
authorMarcus Boerger <helly@php.net>
Fri, 30 Apr 2004 08:18:54 +0000 (08:18 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 30 Apr 2004 08:18:54 +0000 (08:18 +0000)
run-tests.php

index dbd74eba10fc24368bc92e21cd82c03609c89462..ef1e3420a54b9433d38473332861712f3c6d888b 100755 (executable)
@@ -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 "