mirror of https://github.com/containers/podman.git
Merge pull request #12919 from vrothberg/fix-12904
apiv2 test: add regression test for #12904
This commit is contained in:
commit
fa27734b76
|
|
@ -18,6 +18,11 @@ podman rm -a -f &>/dev/null
|
||||||
|
|
||||||
t GET "libpod/containers/json (at start: clean slate)" 200 length=0
|
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
|
podman run -v /tmp:/tmp $IMAGE true
|
||||||
|
|
||||||
t GET libpod/containers/json 200 length=0
|
t GET libpod/containers/json 200 length=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue