summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-10 10:16:41 -0500
committerGitHub <noreply@github.com>2020-12-10 10:16:41 -0500
commit2bb149034bd67dd4027768863fed2fce853833ae (patch)
tree4e2a04728dbbf2108d2d71837d6a59333cb62db0 /test
parentdeb00425c2984ea42158ce6afec74474de998bfd (diff)
parent3fa61f0004b04340a697a256ff51589a4d3f7c93 (diff)
downloadpodman-2bb149034bd67dd4027768863fed2fce853833ae.tar.gz
podman-2bb149034bd67dd4027768863fed2fce853833ae.tar.bz2
podman-2bb149034bd67dd4027768863fed2fce853833ae.zip
Merge pull request #8681 from Luap99/fix-image-exists-panic
Fix panic in libpod images exists endpoint
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/10-images.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index c105a9278..7b500bf57 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -12,6 +12,8 @@ iid=$(jq -r '.[0].Id' <<<"$output")
t GET libpod/images/$iid/exists 204
t GET libpod/images/$PODMAN_TEST_IMAGE_NAME/exists 204
+t GET libpod/images/${iid}abcdef/exists 404 \
+ .cause="failed to find image ${iid}abcdef"
# FIXME: compare to actual podman info
t GET libpod/images/json 200 \