MDL-55986 behat: use double quotes not single
On windows we need option value to be in double quotes, else it fails
This commit is contained in:
@@ -94,7 +94,7 @@ if ($options['parallel'] && $options['parallel'] > 1) {
|
||||
// Sanitize all input options, so they can be passed to util.
|
||||
foreach ($options as $option => $value) {
|
||||
if ($value) {
|
||||
$commandoptions .= " --$option='$value'";
|
||||
$commandoptions .= " --$option=\"$value\"";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -269,7 +269,7 @@ function commands_to_execute($options) {
|
||||
if ($options[$option]) {
|
||||
$extra .= " --$option";
|
||||
if ($value) {
|
||||
$extra .= "='$value'";
|
||||
$extra .= "=\"$value\"";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user