summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-23 07:02:59 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-23 07:02:59 +0000
commit41bd5790cf4cf897d52d833d1b388403d2ee5615 (patch)
tree7f9c3e87c7d37483310558a28c195770e9283e99 /run-tests.php
parenta3b62c8eed3c30c93c9de1a32cb6878a54b88e31 (diff)
downloadphp-git-41bd5790cf4cf897d52d833d1b388403d2ee5615.tar.gz
MFH: make run-tests to work with directories containing spaces (bug #38558)
Patch by danielc at analysisandsolutions dot com
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/run-tests.php b/run-tests.php
index 6d1aca85cb..a48ee69f2e 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -192,13 +192,13 @@ 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;'`);
+ define('TESTED_PHP_VERSION', `$php -r "echo PHP_VERSION;"`);
// 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'),