diff options
Diffstat (limited to 'test/podman_kill.bats')
-rw-r--r-- | test/podman_kill.bats | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/podman_kill.bats b/test/podman_kill.bats index 1ccf373bb..bb55ed31d 100644 --- a/test/podman_kill.bats +++ b/test/podman_kill.bats @@ -62,3 +62,10 @@ function setup() { run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} ps --no-trunc" [ "$status" -eq 0 ] } + +@test "kill the latest container run" { + ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d ${ALPINE} sleep 9999 + run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} kill -l" + echo "$output" + [ "$status" -eq 0 ] +} |