summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-21 06:35:51 -0400
committerGitHub <noreply@github.com>2020-10-21 06:35:51 -0400
commitd5073af6b24239fc94bc6bb184f9df6a979887c6 (patch)
treec099add9f347d078535574941db376d6b4a6aff7 /test/apiv2/20-containers.at
parent94873a237ab52db27916b8954e489fe780eea069 (diff)
parenteb91d66c4aa0d2d75a5787ab7013cef88d8c9f4f (diff)
downloadpodman-d5073af6b24239fc94bc6bb184f9df6a979887c6.tar.gz
podman-d5073af6b24239fc94bc6bb184f9df6a979887c6.tar.bz2
podman-d5073af6b24239fc94bc6bb184f9df6a979887c6.zip
Merge pull request #8022 from baude/compatapitospecgen
refactor api compatibility container creation to specgen
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 7fbcd2e9c..c7055dfc4 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -206,16 +206,6 @@ t POST containers/${cid_top}/stop "" 204
t DELETE containers/$cid 204
t DELETE containers/$cid_top 204
-# test the apiv2 create, shouldn't ignore the ENV and WORKDIR from the image
-t POST containers/create '"Image":"'$ENV_WORKDIR_IMG'","Env":["testKey1"]' 201 \
- .Id~[0-9a-f]\\{64\\}
-cid=$(jq -r '.Id' <<<"$output")
-t GET containers/$cid/json 200 \
- .Config.Env~.*REDIS_VERSION= \
- .Config.Env~.*testKey1= \
- .Config.WorkingDir="/data" # default is /data
-t DELETE containers/$cid 204
-
# test the WORKDIR and StopSignal
t POST containers/create '"Image":"'$ENV_WORKDIR_IMG'","WorkingDir":"/dataDir","StopSignal":"9"' 201 \
.Id~[0-9a-f]\\{64\\}