summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-02 10:55:16 +0200
committerGitHub <noreply@github.com>2022-08-02 10:55:16 +0200
commit47a814aa6df97da834315d778cb68f66a82c3231 (patch)
tree9ea3654d4869af87c42bb88d253a1f508c57e21a /test/e2e
parent30cc6dbf085e56c3d67341962e79efacdab3e524 (diff)
parent5ab98f2c07acc5650c6a7adcf295657a99875c15 (diff)
downloadpodman-47a814aa6df97da834315d778cb68f66a82c3231.tar.gz
podman-47a814aa6df97da834315d778cb68f66a82c3231.tar.bz2
podman-47a814aa6df97da834315d778cb68f66a82c3231.zip
Merge pull request #15097 from flouthoc/check-common-manifest-inspect
manifest,test: `inspect` should contain `OCI` annotations.
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/manifest_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index 893210a1f..e80772aed 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -173,13 +173,15 @@ var _ = Describe("Podman manifest", func() {
session = podmanTest.Podman([]string{"manifest", "add", "foo", imageListInstance})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- session = podmanTest.Podman([]string{"manifest", "annotate", "--arch", "bar", "foo", imageListARM64InstanceDigest})
+ session = podmanTest.Podman([]string{"manifest", "annotate", "--annotation", "hello=world", "--arch", "bar", "foo", imageListARM64InstanceDigest})
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(`"architecture": "bar"`))
+ // Check added annotation
+ Expect(session.OutputToString()).To(ContainSubstring(`"hello": "world"`))
})
It("remove digest", func() {