Unverified Commit f32c2fd7 authored by Rajesh Taneja's avatar Rajesh Taneja
Browse files

MDL-55986 behat: use double quotes not single

On windows we need option value to be in
double quotes, else it fails
parent 0223a663
......@@ -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\"";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment