Browse code

Fix collecting the daemon under test logs

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>

Stefan Scherer authored on 2020/09/18 01:40:08
Showing 1 changed files
... ...
@@ -1038,6 +1038,7 @@ Finally {
1038 1038
 
1039 1039
     # Save the daemon under test log
1040 1040
     if ($daemonStarted -eq 1) {
1041
+        Set-Location "$env:SOURCES_DRIVE`:\$env:SOURCES_SUBDIR\src\github.com\docker\docker"
1041 1042
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.out) to bundles\CIDUT.out"
1042 1043
         Copy-Item  "$env:TEMP\dut.out" "bundles\CIDUT.out" -Force -ErrorAction SilentlyContinue
1043 1044
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.err) to bundles\CIDUT.err"