mirror of
https://github.com/containers/podman.git
synced 2025-10-21 05:13:47 +08:00
Merge pull request #2196 from baude/toolbox
Changes to container runlabel for toolbox project
This commit is contained in:
@ -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))
|
||||
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user