mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Get proper exit code when running or starting a container.
When we finish running a container, we need to call wait in order to get the exit code from the container. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -62,7 +62,6 @@ var _ = Describe("Podman run exit", func() {
|
||||
})
|
||||
|
||||
It("podman run exit 50", func() {
|
||||
Skip(v2remotefail)
|
||||
result := podmanTest.Podman([]string{"run", ALPINE, "sh", "-c", "exit 50"})
|
||||
result.WaitWithDefaultTimeout()
|
||||
Expect(result.ExitCode()).To(Equal(50))
|
||||
|
Reference in New Issue
Block a user