From 9da542a78bd025b1025c019ca27e1e9779323cc6 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Thu, 6 May 2021 19:36:36 +0200 Subject: fix pre review request Signed-off-by: Matej Vasek --- test/apiv2/10-images.at | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'test/apiv2') diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at index a6764371c..6f439ad85 100644 --- a/test/apiv2/10-images.at +++ b/test/apiv2/10-images.at @@ -140,17 +140,14 @@ t GET images/json?filters='{"reference":["test1"]}' 200 length=1 t DELETE libpod/images/test1:latest 200 -# Export more than one image -# FIXME FIXME FIXME, this doesn't work: -# not ok 64 [10-images] GET images/get?names=alpine,busybox : status -# expected: 200 -# actual: 500 -# expected: 200 -# not ok 65 [10-images] GET images/get?names=alpine,busybox : output - # expected: [POSIX tar archive] -# actual: {"cause":"no such image","message":"unable to find a name and tag match for busybox in repotags: no such image","response":500} -# -#t GET images/get?names=alpine,busybox 200 '[POSIX tar archive]' 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 + # vim: filetype=sh -- cgit v1.2.3-54-g00ecf