summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-23 07:02:26 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-23 07:02:26 +0000
commit69bbd05b03db3b4553dec41e0dd7343e84a81257 (patch)
treed8a4d09d44ce18149878b487c5f5e0e1f0417b9d
parent790050b6d7840972aecf4eb6a674fca8453d5a09 (diff)
downloadphp-git-69bbd05b03db3b4553dec41e0dd7343e84a81257.tar.gz
make run-tests to work with directories containing spaces (bug #38558)
-rwxr-xr-xrun-tests.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index 80e6705fe4..c3d5f83677 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -177,7 +177,7 @@ More .INIs : " , (function_exists(\'php_ini_scanned_files\') ? str_replace("\n"
$info_params = array();
settings2array($ini_overwrites,$info_params);
settings2params($info_params);
- $php_info = `$php $pass_options $info_params $info_file`;
+ $php_info = `$php $pass_options $info_params "$info_file"`;
@unlink($info_file);
define('TESTED_PHP_VERSION', `$php -r "echo PHP_VERSION;"`);
@@ -186,7 +186,7 @@ More .INIs : " , (function_exists(\'php_ini_scanned_files\') ? str_replace("\n"
// load list of enabled extensions
save_text($info_file, '<?php echo join(",",get_loaded_extensions()); ?>');
- $exts_to_test = explode(',',`$php $pass_options $info_params $info_file`);
+ $exts_to_test = explode(',',`$php $pass_options $info_params "$info_file"`);
// check for extensions that need special handling and regenerate
$info_params_ex = array(
'session' => array('session.auto_start=0'),