diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-02-05 10:34:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 10:34:40 -0500 |
commit | 3554bfce98bc643bd4724340bf2abbaa6373e70c (patch) | |
tree | fb95023c6bb2619114f48d258e36e9486187b6b3 /test/e2e | |
parent | f30a531de11495dc82015b505dd401aceed8c2ba (diff) | |
parent | 735f0de6336fa8db7465ce4aaa5b6de203816aa9 (diff) | |
download | podman-3554bfce98bc643bd4724340bf2abbaa6373e70c.tar.gz podman-3554bfce98bc643bd4724340bf2abbaa6373e70c.tar.bz2 podman-3554bfce98bc643bd4724340bf2abbaa6373e70c.zip |
Merge pull request #2196 from baude/toolbox
Changes to container runlabel for toolbox project
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/runlabel_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/runlabel_test.go b/test/e2e/runlabel_test.go index 9b4f584b0..49b9e13d8 100644 --- a/test/e2e/runlabel_test.go +++ b/test/e2e/runlabel_test.go @@ -68,4 +68,15 @@ var _ = Describe("podman container runlabel", func() { result.WaitWithDefaultTimeout() Expect(result.ExitCode()).To(Equal(0)) }) + It("podman container runlabel bogus label should result in non-zero exit code", func() { + result := podmanTest.Podman([]string{"container", "runlabel", "RUN", ALPINE}) + result.WaitWithDefaultTimeout() + Expect(result.ExitCode()).ToNot(Equal(0)) + }) + It("podman container runlabel bogus label in remote image should result in non-zero exit", func() { + result := podmanTest.Podman([]string{"container", "runlabel", "RUN", "docker.io/library/ubuntu:latest"}) + result.WaitWithDefaultTimeout() + Expect(result.ExitCode()).ToNot(Equal(0)) + + }) }) |