diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-17 09:39:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 09:39:19 +0000 |
commit | a9131050cfca0844aabae505a3df6d43426a9fed (patch) | |
tree | b7306b2f742a6ef2bd2efa31db11e5705a4957e1 /test | |
parent | fd0142d8ee78ac2fce6157f9e72b20c007b585ce (diff) | |
parent | 7e7a79b075f7d65657d95169f02c2c1c03198b93 (diff) | |
download | podman-a9131050cfca0844aabae505a3df6d43426a9fed.tar.gz podman-a9131050cfca0844aabae505a3df6d43426a9fed.tar.bz2 podman-a9131050cfca0844aabae505a3df6d43426a9fed.zip |
Merge pull request #15350 from nalind/manifest-amend
podman manifest create: accept --amend and --insecure flags
Diffstat (limited to 'test')
-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 ee954a1a4..145a016ea 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -49,6 +49,14 @@ var _ = Describe("Podman manifest", func() { session := podmanTest.Podman([]string{"manifest", "create", "foo"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) + + session = podmanTest.Podman([]string{"manifest", "create", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session).To(ExitWithError()) + + session = podmanTest.Podman([]string{"manifest", "create", "--amend", "foo"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) }) It("create w/ image", func() { |