diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-29 13:22:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 13:22:22 +0200 |
commit | f52feded3ce6c1ad2af046ab774fbc2b9c832487 (patch) | |
tree | 227b374d8677368691ac48bab7603771ffecc540 /test | |
parent | 3269ee9fea1bab7735a3668db9e6631b4fa933b9 (diff) | |
parent | 32f54a81ed797597827123b671b6e73194354327 (diff) | |
download | podman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.tar.gz podman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.tar.bz2 podman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.zip |
Merge pull request #15988 from sstosh/manifest-annotate-remote
remote: fix manifest add --annotation
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/manifest_test.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index b0a5e7d03..404f2cd3a 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -165,6 +165,20 @@ var _ = Describe("Podman manifest", func() { )) }) + It("add --annotation", func() { + session := podmanTest.Podman([]string{"manifest", "create", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + session = podmanTest.Podman([]string{"manifest", "add", "--annotation", "hoge=fuga", "foo", imageList}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + session = podmanTest.Podman([]string{"manifest", "inspect", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToString()).To(ContainSubstring(`"annotations"`)) + Expect(session.OutputToString()).To(ContainSubstring(`"hoge": "fuga"`)) + }) + It("add --os", func() { session := podmanTest.Podman([]string{"manifest", "create", "foo"}) session.WaitWithDefaultTimeout() |