mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
updated apiv2 tests to reflect hash compat fix
Signed-off-by: Jason Ertel <jason.ertel@securityonionsolutions.com>
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user