summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Matthews <jwmatthews@gmail.com>2022-03-24 13:04:21 -0400
committerJohn Matthews <jwmatthews@gmail.com>2022-03-27 07:33:13 -0400
commit7989880509a75f2157bdd83b8e697380514af4b7 (patch)
tree77f4adc547bfcaac8da3de3ee309d45badd3a152
parent463c0b9f2d16c157e7047a2c689ff432bd0dc6ca (diff)
downloadpodman-7989880509a75f2157bdd83b8e697380514af4b7.tar.gz
podman-7989880509a75f2157bdd83b8e697380514af4b7.tar.bz2
podman-7989880509a75f2157bdd83b8e697380514af4b7.zip
Fixes errors from 'manifest push' being dropped in remote case
Signed-off-by: John Matthews <jwmatthews@gmail.com>
-rw-r--r--test/e2e/manifest_test.go7
1 files changed, 7 insertions, 0 deletions
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"})