summaryrefslogtreecommitdiff
path: root/test/podman_stop.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/podman_stop.bats')
-rw-r--r--test/podman_stop.bats7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/podman_stop.bats b/test/podman_stop.bats
index 498d71838..839301435 100644
--- a/test/podman_stop.bats
+++ b/test/podman_stop.bats
@@ -47,3 +47,10 @@ function setup() {
echo "$output"
[ "$status" -eq 0 ]
}
+
+@test "stop a container with latest" {
+ ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d ${ALPINE} sleep 9999
+ run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} stop -t 1 -l"
+ echo "$output"
+ [ "$status" -eq 0 ]
+}