From 7989880509a75f2157bdd83b8e697380514af4b7 Mon Sep 17 00:00:00 2001 From: John Matthews Date: Thu, 24 Mar 2022 13:04:21 -0400 Subject: Fixes errors from 'manifest push' being dropped in remote case Signed-off-by: John Matthews --- test/e2e/manifest_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index 6e029d3a4..230864891 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -309,6 +309,13 @@ var _ = Describe("Podman manifest", func() { Expect(err).To(BeNil()) }) + It("push with error", func() { + session := podmanTest.Podman([]string{"manifest", "push", "badsrcvalue", "baddestvalue"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(ExitWithError()) + Expect(session.ErrorToString()).NotTo(BeEmpty()) + }) + It("push --rm", func() { SkipIfRemote("remote does not support --rm") session := podmanTest.Podman([]string{"manifest", "create", "foo"}) -- cgit v1.2.3-54-g00ecf