From 74ac2dda297eb315254e805c9a5c9b6a7c3eda89 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 12 May 2022 17:00:44 -0400 Subject: Deleting an n use image should return conflict not system error Fixes: https://github.com/containers/podman/issues/14208 Signed-off-by: Daniel J Walsh --- test/apiv2/10-images.at | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/apiv2') diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at index 9526183e3..b5305537d 100644 --- a/test/apiv2/10-images.at +++ b/test/apiv2/10-images.at @@ -156,6 +156,17 @@ t GET images/json?filters='{"reference":["test1"]}' 200 length=1 t DELETE libpod/images/test1:latest 200 +# to be used in prune until filter tests +podman image build -t docker.io/library/test1:latest -<file4 +EOF +podman create --name test1 test1 echo hi + +t DELETE images/test1:latest 409 +podman rm test1 +t DELETE images/test1:latest 200 + t GET "images/get?names=alpine" 200 '[POSIX tar archive]' podman pull busybox -- cgit v1.2.3-54-g00ecf