summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-03 06:36:09 -0700
committerEd Santiago <santiago@redhat.com>2020-03-03 06:40:27 -0700
commit88cd6488166bc799645efac8f2df389a352b2653 (patch)
tree38bb19acd8df8c8fefd0562902d084958bc06f67 /test/apiv2/20-containers.at
parent1641ee61802ad5e13a9ddf0a20099fe31f73768d (diff)
downloadpodman-88cd6488166bc799645efac8f2df389a352b2653.tar.gz
podman-88cd6488166bc799645efac8f2df389a352b2653.tar.bz2
podman-88cd6488166bc799645efac8f2df389a352b2653.zip
APIv2 tests: add tests for stop
...and allow status 'stopped' in addition to 'exited'. Fixes: #5336 Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index a69e8cc99..3a5d5a398 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -22,7 +22,7 @@ t GET libpod/containers/json?all=true 200 \
.[0].Id~[0-9a-f]\\{12\\} \
.[0].Image=$IMAGE \
.[0].Command[0]="true" \
- .[0].State=exited \
+ .[0].State~\\\(exited\\\|stopped\\\) \
.[0].ExitCode=0 \
.[0].IsInfra=false