Merge pull request #12919 from vrothberg/fix-12904

apiv2 test: add regression test for #12904
This commit is contained in:
OpenShift Merge Robot
2022-01-19 08:55:03 -05:00
committed by GitHub

View File

@@ -18,6 +18,11 @@ podman rm -a -f &>/dev/null
t GET "libpod/containers/json (at start: clean slate)" 200 length=0
# Regression test for #12904
podman run --rm -d --replace --name foo $IMAGE sh -c "echo 123;sleep 42"
t POST "containers/foo/attach?logs=true&stream=false" 200
t POST "containers/foo/kill" 204
podman run -v /tmp:/tmp $IMAGE true
t GET libpod/containers/json 200 length=0