From 12e269cfc1cbf1d66b8139be5eada2767543d1a7 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 23 May 2024 08:58:00 +0000 Subject: [PATCH] fix(cli): display test log for all artifact types --- artifact/process.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artifact/process.go b/artifact/process.go index 416b98b..667bfe3 100644 --- a/artifact/process.go +++ b/artifact/process.go @@ -336,13 +336,14 @@ func copyArtifactAndTest(slog zerolog.Logger, q *qemu.System, ka Artifact, slog.Error().Err(err).Msg(res.Test.Output) return } - slog.Info().Msgf("\n%v\n", res.Test.Output) res.Run.Ok = true res.Test.Ok = true default: slog.Fatal().Msg("Unsupported artifact type") } + slog.Info().Msgf("\n%v\n", res.Test.Output) + _, err = q.Command("root", "echo") if err != nil { slog.Error().Err(err).Msg("after-test ssh reconnect")