mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
make run-tests to work with directories containing spaces (bug #38558)
This commit is contained in:
parent
790050b6d7
commit
69bbd05b03
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user