Fix collecting the daemon under test logs

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
Stefan Scherer 2020-09-17 18:40:08 +02:00
parent 3956a86b62
commit 89bec2e267
No known key found for this signature in database
GPG key ID: 505AF50C5D02E697

View file

@ -1038,6 +1038,7 @@ Finally {
# Save the daemon under test log
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"
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"