summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-02 16:12:47 +0100
committerGitHub <noreply@github.com>2021-12-02 16:12:47 +0100
commitee39281c35e3ceca98c0c51c9cc5d792c56ba533 (patch)
tree0cbbc1d7e0222118bb32bbc90adf443602d40985 /test
parentb41026aec77fc7b74a45560f242be66c25af59a6 (diff)
parent2683ecbbcda750b9339713ced9b974b9dd61b9aa (diff)
downloadpodman-ee39281c35e3ceca98c0c51c9cc5d792c56ba533.tar.gz
podman-ee39281c35e3ceca98c0c51c9cc5d792c56ba533.tar.bz2
podman-ee39281c35e3ceca98c0c51c9cc5d792c56ba533.zip
Merge pull request #12480 from vrothberg/fix-12453
compat: images/json
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/10-images.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index b7bcaf81d..e67f559f3 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -10,6 +10,13 @@ t GET libpod/images/json 200 \
.[0].Id~[0-9a-f]\\{64\\}
iid=$(jq -r '.[0].Id' <<<"$output")
+# Create an empty manifest and make sure it is not listed
+# in the compat endpoint.
+t GET images/json 200 length=1
+podman manifest create foo
+t GET images/json 200 length=1
+t GET libpod/images/json 200 length=2
+
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 \