diff options
author | Qi Wang <qiwan@redhat.com> | 2020-04-29 10:51:02 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-05-05 15:01:32 -0400 |
commit | 1090d4d5d99410b5433330516a4ea3f5e5a27375 (patch) | |
tree | 1dde472b1b5b5cf8b6b48dca84bd289a3e581618 /test/e2e | |
parent | fb6eca50ba9e2dc652da0c33c72db70ab9da85e9 (diff) | |
download | podman-1090d4d5d99410b5433330516a4ea3f5e5a27375.tar.gz podman-1090d4d5d99410b5433330516a4ea3f5e5a27375.tar.bz2 podman-1090d4d5d99410b5433330516a4ea3f5e5a27375.zip |
manifest annotate
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/manifest_test.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index 9b5a24771..be6919bdc 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -98,4 +98,20 @@ var _ = Describe("Podman manifest", func() { Expect(session.ExitCode()).To(Equal(0)) Expect(session.OutputToString()).To(ContainSubstring(`"os": "bar"`)) }) + + It("podman manifest annotate", func() { + session := podmanTest.Podman([]string{"manifest", "create", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + session = podmanTest.Podman([]string{"manifest", "add", "foo", imageListInstance}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + session = podmanTest.Podman([]string{"manifest", "annotate", "--arch", "bar", "foo", imageListARM64InstanceDigest}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + session = podmanTest.Podman([]string{"manifest", "inspect", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + Expect(session.OutputToString()).To(ContainSubstring(`"architecture": "bar"`)) + }) }) |