summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-08 06:20:19 -0400
committerGitHub <noreply@github.com>2021-05-08 06:20:19 -0400
commit54bed1025d07bc5f77ee4e1e7f942157e211ec0a (patch)
tree4a02f20824d033c78c7fc9cd05b3ca4d6a49b3d4 /test
parent141d3f1ac33de5c9642cc089fbd526d0ab1f5250 (diff)
parentc8deab8296ea1267d78a8ada45c3cfdc45fa207a (diff)
downloadpodman-54bed1025d07bc5f77ee4e1e7f942157e211ec0a.tar.gz
podman-54bed1025d07bc5f77ee4e1e7f942157e211ec0a.tar.bz2
podman-54bed1025d07bc5f77ee4e1e7f942157e211ec0a.zip
Merge pull request #10265 from matejvasek/fix-get-multiple-imgs-compat
fix: compat API "images/get" for multiple images
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/10-images.at10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index 53702fa0a..037a4c01f 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -143,12 +143,8 @@ t DELETE libpod/images/test1:latest 200
t GET "images/get?names=alpine" 200 '[POSIX tar archive]'
podman pull busybox
-#t GET "images/get?names=alpine&names=busybox" 200 '[POSIX tar archive]'
-#img_cnt=$(tar xf "$WORKDIR/curl.result.out" manifest.json -O | jq "length")
-#is "$img_cnt" 2 "number of images in tar archive"
-# TODO getting multiple images is not supported yet
-# once it is supported replace the test below by the tests above
-t GET "images/get?names=alpine&names=busybox" 501 \
- .cause="getting multiple image is not supported yet"
+t GET "images/get?names=alpine&names=busybox" 200 '[POSIX tar archive]'
+img_cnt=$(tar xf "$WORKDIR/curl.result.out" manifest.json -O | jq "length")
+is "$img_cnt" 2 "number of images in tar archive"
# vim: filetype=sh