diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-19 08:55:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 08:55:03 -0500 |
commit | fa27734b7681ceb75666efa1266bddda250aade2 (patch) | |
tree | 68c6e67e3bdc9cea81bf0e61ba7cdab124cae469 | |
parent | 094b11cbcb528a7d120c31402a1bcd9c82d84938 (diff) | |
parent | af6a43fa494bd3152c000d4e03e43f091c742d48 (diff) | |
download | podman-fa27734b7681ceb75666efa1266bddda250aade2.tar.gz podman-fa27734b7681ceb75666efa1266bddda250aade2.tar.bz2 podman-fa27734b7681ceb75666efa1266bddda250aade2.zip |
Merge pull request #12919 from vrothberg/fix-12904
apiv2 test: add regression test for #12904
-rw-r--r-- | test/apiv2/20-containers.at | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at index 72003984f..e6d49ac25 100644 --- a/test/apiv2/20-containers.at +++ b/test/apiv2/20-containers.at @@ -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 |