summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-11 16:15:56 -0500
committerGitHub <noreply@github.com>2022-01-11 16:15:56 -0500
commit3404ad042def1c02872f66836feae19c814901a4 (patch)
treea454ef259ab28f85b17f53b3273725480aa78515 /test/apiv2/20-containers.at
parentc4142ce0cfff792092bf420950b1985058cc241c (diff)
parent8f2358eeaa59fe369eebc6186403f95c2d66e49b (diff)
downloadpodman-3404ad042def1c02872f66836feae19c814901a4.tar.gz
podman-3404ad042def1c02872f66836feae19c814901a4.tar.bz2
podman-3404ad042def1c02872f66836feae19c814901a4.zip
Merge pull request #12694 from rhatdan/depend
Add podman rm --depend
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 554a905d4..936597f72 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -85,7 +85,7 @@ else
fi
fi
-t DELETE libpod/containers/$cid 204
+t DELETE libpod/containers/$cid 200 .[0].Id=$cid
# Issue #6799: it should be possible to start a container, even w/o args.
t POST libpod/containers/create?name=test_noargs Image=${IMAGE} 201 \
@@ -100,7 +100,7 @@ t GET libpod/containers/${cid}/json 200 \
.State.Status~\\\(exited\\\|stopped\\\) \
.State.Running=false \
.State.ExitCode=0
-t DELETE libpod/containers/$cid 204
+t DELETE libpod/containers/$cid 200 .[0].Id=$cid
CNAME=myfoo
podman run -d --name $CNAME $IMAGE top
@@ -190,8 +190,8 @@ t GET containers/myctr/json 200 \
t DELETE images/localhost/newrepo:latest?force=true 200
t DELETE images/localhost/newrepo:v1?force=true 200
t DELETE images/localhost/newrepo:v2?force=true 200
-t DELETE libpod/containers/$cid?force=true 204
-t DELETE libpod/containers/myctr 204
+t DELETE libpod/containers/$cid?force=true 200 .[0].Id=$cid
+t DELETE libpod/containers/myctr 200
t DELETE libpod/containers/bogus 404