mirror of https://github.com/containers/podman.git
Merge pull request #13651 from jwmatthews/fix13650
Fixes errors from 'manifest push' being dropped in remote case
This commit is contained in:
commit
54f808e4dd
|
|
@ -309,6 +309,13 @@ var _ = Describe("Podman manifest", func() {
|
||||||
Expect(err).To(BeNil())
|
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() {
|
It("push --rm", func() {
|
||||||
SkipIfRemote("remote does not support --rm")
|
SkipIfRemote("remote does not support --rm")
|
||||||
session := podmanTest.Podman([]string{"manifest", "create", "foo"})
|
session := podmanTest.Podman([]string{"manifest", "create", "foo"})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue