summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-10-08 09:47:07 -0500
committerbaude <bbaude@redhat.com>2020-10-08 11:55:47 -0500
commit78a06c2802ec7bb91607bb80cdb57ae3f639b448 (patch)
treef89ed45636cd8181d4d817fd6d27dd46662acae6 /test/apiv2
parent59b5f0ac32ddf615fada021bc62c823bb73233da (diff)
downloadpodman-78a06c2802ec7bb91607bb80cdb57ae3f639b448.tar.gz
podman-78a06c2802ec7bb91607bb80cdb57ae3f639b448.tar.bz2
podman-78a06c2802ec7bb91607bb80cdb57ae3f639b448.zip
add compatibility endpoint for exporting multiple images
with the recent inclusion of dealing with multiple images in a tar archive, we can now add a compatibility endpoint that was missing images/get?names=one,two. Fixes: #7950 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/10-images.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index bdc298ae3..f669bc892 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -68,4 +68,7 @@ for i in $iid ${iid:0:12} $PODMAN_TEST_IMAGE_NAME; do
t GET "libpod/images/$i/get?compress=false" 200 '[POSIX tar archive]'
done
+# Export more than one image
+t GET images/get?names=alpine,busybox 200 '[POSIX tar archive]'
+
# vim: filetype=sh