diff options
author | Jason Ertel <jason.ertel@securityonionsolutions.com> | 2022-08-29 14:10:33 -0400 |
---|---|---|
committer | Jason Ertel <jason.ertel@securityonionsolutions.com> | 2022-08-29 14:10:33 -0400 |
commit | 08af95f63576af0c443fdef9d3ba6ba12a0c0dbc (patch) | |
tree | 703c55477618924f983969db455ee5f641b7ed8a /test | |
parent | 6411f57e789ecef322c120d34ad634495e54d257 (diff) | |
download | podman-08af95f63576af0c443fdef9d3ba6ba12a0c0dbc.tar.gz podman-08af95f63576af0c443fdef9d3ba6ba12a0c0dbc.tar.bz2 podman-08af95f63576af0c443fdef9d3ba6ba12a0c0dbc.zip |
updated apiv2 tests to reflect hash compat fix
Signed-off-by: Jason Ertel <jason.ertel@securityonionsolutions.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/20-containers.at | 4 | ||||
-rw-r--r-- | test/apiv2/70-short-names.at | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at index ac3626cf1..29b641853 100644 --- a/test/apiv2/20-containers.at +++ b/test/apiv2/20-containers.at @@ -309,7 +309,9 @@ t POST containers/create Image=${MultiTagName} 201 \ .Id~[0-9a-f]\\{64\\} cid=$(jq -r '.Id' <<<"$output") t GET containers/$cid/json 200 \ - .Image=${MultiTagName} + .Config.Image=${MultiTagName} \ + .Image~sha256:[0-9a-f]\\{64\\} + t DELETE containers/$cid 204 t DELETE images/${MultiTagName} 200 # vim: filetype=sh diff --git a/test/apiv2/70-short-names.at b/test/apiv2/70-short-names.at index bd7f8e7bd..643cbc25b 100644 --- a/test/apiv2/70-short-names.at +++ b/test/apiv2/70-short-names.at @@ -9,7 +9,7 @@ t POST "images/create?fromImage=quay.io/libpod/alpine:latest" 200 .error~null .s # 14291 - let a short-name resolve to a *local* non Docker-Hub image. t POST containers/create Image=alpine 201 .Id~[0-9a-f]\\{64\\} cid=$(jq -r '.Id' <<<"$output") -t GET containers/$cid/json 200 .Image="quay.io/libpod/alpine:latest" +t GET containers/$cid/json 200 .Config.Image="quay.io/libpod/alpine:latest" .Image~sha256:[0-9a-f]\\{64\\} podman rm -f $cid ########## TAG |