Skip to content

Commit

Permalink
updated apiv2 tests to reflect hash compat fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Ertel <[email protected]>
  • Loading branch information
jertel authored and mheon committed Sep 6, 2022
1 parent 54a9e24 commit 8634f55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/apiv2/20-containers.at
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/apiv2/70-short-names.at
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8634f55

Please sign in to comment.