diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-08-27 13:40:50 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-08-27 13:40:50 +0200 |
commit | 0ee9a3129b312e0a40b2e78e97ee356205495333 (patch) | |
tree | e6d77666fb0f3535924f8460a07dd35bfb93a096 /test | |
parent | 36cf6f572a360af91bf261936b6ed6849f355478 (diff) | |
download | podman-0ee9a3129b312e0a40b2e78e97ee356205495333.tar.gz podman-0ee9a3129b312e0a40b2e78e97ee356205495333.tar.bz2 podman-0ee9a3129b312e0a40b2e78e97ee356205495333.zip |
podman rmi: emit untag events
Emit untag events for each tag when removing an image.
Fixes: #15485
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/system/090-events.bats | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/system/090-events.bats b/test/system/090-events.bats index ceb53ae73..cee0e23b0 100644 --- a/test/system/090-events.bats +++ b/test/system/090-events.bats @@ -64,7 +64,7 @@ load helpers run_podman --events-backend=file tag $IMAGE $tag run_podman --events-backend=file untag $IMAGE $tag run_podman --events-backend=file tag $IMAGE $tag - run_podman --events-backend=file rmi $tag + run_podman --events-backend=file rmi -f $imageID run_podman --events-backend=file events --stream=false --filter type=image --since $t0 is "$output" ".*image push $imageID dir:$pushedDir @@ -74,7 +74,8 @@ load helpers .*image tag $imageID $tag .*image untag $imageID $tag:latest .*image tag $imageID $tag -.*image remove $imageID $tag.*" \ +.*image untag $imageID $tag:latest +.*image remove $imageID $imageID" \ "podman events" } |