summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/e2e/libpod_suite_test.go1
-rw-r--r--test/e2e/run_test.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index dcc5fd913..fa8cd128f 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -368,6 +368,7 @@ func (s *PodmanSession) InspectImageJSON() []inspect.ImageData {
func (s *PodmanSession) WaitWithDefaultTimeout() {
s.Wait(defaultWaitTimeout)
+ fmt.Println("output:", s.OutputToString())
}
// SystemExec is used to exec a system command to check its exit code or output
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index e437d47d3..3ea639a11 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -299,7 +299,6 @@ var _ = Describe("Podman run", func() {
log := filepath.Join(podmanTest.TempDir, "/container.log")
session := podmanTest.Podman([]string{"run", "--rm", "--log-opt", fmt.Sprintf("path=%s", log), ALPINE, "ls"})
session.WaitWithDefaultTimeout()
- fmt.Println(session.OutputToString())
Expect(session.ExitCode()).To(Equal(0))
_, err := os.Stat(log)
Expect(err).To(BeNil())
@@ -313,7 +312,6 @@ var _ = Describe("Podman run", func() {
session := podmanTest.Podman([]string{"run", "--rm", "bb", "ls"})
session.WaitWithDefaultTimeout()
- fmt.Println(session.OutputToString())
Expect(session.ExitCode()).To(Equal(0))
})