The double quotes inside a single quoted string don't need to be
escaped.
Looks like different Powershell versions are treating this differently
and it started failing unexpectedly without any changes on our side.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
| ... | ... |
@@ -348,7 +348,7 @@ Function Run-UnitTests() {
|
| 348 | 348 |
Function Run-IntegrationTests() {
|
| 349 | 349 |
$escRoot = [Regex]::Escape($root) |
| 350 | 350 |
$env:DOCKER_INTEGRATION_DAEMON_DEST = $bundlesDir + "\tmp" |
| 351 |
- $dirs = go list -test -f '{{- if ne .ForTest `"`" -}}{{- .Dir -}}{{- end -}}' .\integration\...
|
|
| 351 |
+ $dirs = go list -test -f '{{- if ne .ForTest "" -}}{{- .Dir -}}{{- end -}}' .\integration\...
|
|
| 352 | 352 |
ForEach($dir in $dirs) {
|
| 353 | 353 |
# Normalize directory name for using in the test results files. |
| 354 | 354 |
$normDir = $dir.Trim() |