Explorar o código

Fix collecting the daemon under test logs

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
Stefan Scherer %!s(int64=4) %!d(string=hai) anos
pai
achega
89bec2e267
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hack/ci/windows.ps1

+ 1 - 0
hack/ci/windows.ps1

@@ -1038,6 +1038,7 @@ Finally {
 
 
     # Save the daemon under test log
     # Save the daemon under test log
     if ($daemonStarted -eq 1) {
     if ($daemonStarted -eq 1) {
+        Set-Location "$env:SOURCES_DRIVE`:\$env:SOURCES_SUBDIR\src\github.com\docker\docker"
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.out) to bundles\CIDUT.out"
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.out) to bundles\CIDUT.out"
         Copy-Item  "$env:TEMP\dut.out" "bundles\CIDUT.out" -Force -ErrorAction SilentlyContinue
         Copy-Item  "$env:TEMP\dut.out" "bundles\CIDUT.out" -Force -ErrorAction SilentlyContinue
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.err) to bundles\CIDUT.err"
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.err) to bundles\CIDUT.err"