From 635c0084059f483709e755c147cf56fc7fa3d280 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 2 Jan 2023 13:37:14 -0700 Subject: [PATCH] System tests: add missing cleanup New tests got added since I've been on PTO. Some of those tests weren't doing cleanup, resulting in nasty red logs. Fix. Signed-off-by: Ed Santiago --- test/system/220-healthcheck.bats | 1 + test/system/252-quadlet.bats | 1 + 2 files changed, 2 insertions(+) diff --git a/test/system/220-healthcheck.bats b/test/system/220-healthcheck.bats index b024fc6dbc..1ff26f2e6a 100644 --- a/test/system/220-healthcheck.bats +++ b/test/system/220-healthcheck.bats @@ -102,6 +102,7 @@ Log[-1].Output | \"Uh-oh on stdout!\\\nUh-oh on stderr!\" is "$output" "0" "Failing streak of restarted container should be 0 again" run_podman rm -f -t0 $ctr + run_podman rmi $img } @test "podman healthcheck --health-on-failure" { diff --git a/test/system/252-quadlet.bats b/test/system/252-quadlet.bats index 964bb9c212..05af2b8c1e 100644 --- a/test/system/252-quadlet.bats +++ b/test/system/252-quadlet.bats @@ -319,6 +319,7 @@ EOF is "$output" "running" "container should be started by systemd and hence be running" service_cleanup $QUADLET_SERVICE_NAME inactive + run_podman rmi $(pause_image) } # vim: filetype=sh