diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-20 04:37:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 04:37:19 -0400 |
commit | cb937f4aa89abc3758bcc761839d3044d194b936 (patch) | |
tree | 747dba2f210f1d2586550617452300eac04e835c /test/e2e | |
parent | 8bc39f4a90a658e92305369cc2628e2a65874506 (diff) | |
parent | 2b89b241461c6baba777894f09a75df17dd05741 (diff) | |
download | podman-cb937f4aa89abc3758bcc761839d3044d194b936.tar.gz podman-cb937f4aa89abc3758bcc761839d3044d194b936.tar.bz2 podman-cb937f4aa89abc3758bcc761839d3044d194b936.zip |
Merge pull request #10235 from rhatdan/manifest
Add support for podman manifest rm command
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/manifest_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index 18be97a89..b2dc4f734 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -168,6 +168,10 @@ var _ = Describe("Podman manifest", func() { session = podmanTest.Podman([]string{"manifest", "remove", "foo", "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Not(Equal(0))) + + session = podmanTest.Podman([]string{"manifest", "rm", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) }) It("podman manifest push", func() { @@ -250,6 +254,10 @@ var _ = Describe("Podman manifest", func() { session = podmanTest.Podman([]string{"manifest", "inspect", "foo"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Not(Equal(0))) + + session = podmanTest.Podman([]string{"manifest", "rm", "foo1", "foo2"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Not(Equal(0))) }) It("podman manifest exists", func() { |