summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-16 02:02:56 +0100
committerGitHub <noreply@github.com>2021-12-16 02:02:56 +0100
commit91ef5fb85e29b70c4b0f6c0fadadce37474b5dc0 (patch)
tree49770c39c0b56fee2e8b9f37a0fd61f40c88dd4b /test/apiv2/20-containers.at
parent9212c74ff180ee6090a1d4ff77999c19b613c7b6 (diff)
parent7b51acd4c4140c6fe7f262936c0eee8db2f0cacb (diff)
downloadpodman-91ef5fb85e29b70c4b0f6c0fadadce37474b5dc0.tar.gz
podman-91ef5fb85e29b70c4b0f6c0fadadce37474b5dc0.tar.bz2
podman-91ef5fb85e29b70c4b0f6c0fadadce37474b5dc0.zip
Merge pull request #12601 from edsantiago/apiv2_catch_errs
APIv2 tests: fail on syntax/logic errors
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 748a0750f..e931ceebe 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -97,7 +97,7 @@ t GET libpod/containers/${cid}/json 200 \
t DELETE libpod/containers/$cid 204
CNAME=myfoo
-podman run --name $CNAME $IMAGE -td top
+podman run -d --name $CNAME $IMAGE top
t GET libpod/containers/json?all=true 200 \
.[0].Id~[0-9a-f]\\{64\\}
cid=$(jq -r '.[0].Id' <<<"$output")
@@ -184,7 +184,7 @@ 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 204
+t DELETE libpod/containers/$cid?force=true 204
t DELETE libpod/containers/myctr 204
t DELETE libpod/containers/bogus 404