summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-26 21:36:36 +0100
committerGitHub <noreply@github.com>2020-03-26 21:36:36 +0100
commit6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654 (patch)
tree6fc011ab6c7114ec215e0443e935396150c3dac1 /test
parent913426c70c37a87d425085f60af397f7b38bd65d (diff)
parentc5ce210f7d091a4fa6d69abb9b4068c811a26129 (diff)
downloadpodman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.tar.gz
podman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.tar.bz2
podman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.zip
Merge pull request #5625 from baude/v2pods
podmanv2 pod subcommands
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/40-pods.at8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at
index ab345b8f2..1dc094bd4 100644
--- a/test/apiv2/40-pods.at
+++ b/test/apiv2/40-pods.at
@@ -14,8 +14,8 @@ t GET libpod/pods/foo/json 200 \
.Config.id=$pod_id \
.Containers=null
t GET libpod/pods/json 200 \
- .[0].Config.name=foo \
- .[0].Config.id=$pod_id \
+ .[0].Name=foo \
+ .[0].Id=$pod_id \
.[0].Containers=null
# Cannot create a dup pod with the same name
@@ -24,7 +24,7 @@ t POST libpod/pods/create name=foo 409 .cause="pod already exists"
#t POST libpod/pods/create a=b 400 .cause='bad parameter' # FIXME: unimplemented
if root || have_cgroupsv2; then
- t POST libpod/pods/foo/pause '' 204
+ t POST libpod/pods/foo/pause '' 200
else
# Rootless cgroupsv1 : unsupported
t POST libpod/pods/foo/pause '' 500 \
@@ -44,7 +44,7 @@ t POST libpod/pods/bar/restart '' 404
#t POST libpod/pods/prune 'a=b' 400 # FIXME: 2020-02-24 returns 200
# Clean up; and try twice, making sure that the second time fails
-t DELETE libpod/pods/foo 204
+t DELETE libpod/pods/foo 200
t DELETE libpod/pods/foo 404
# vim: filetype=sh