mirror of
https://github.com/containers/podman.git
synced 2025-06-29 23:22:40 +08:00
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 <santiago@redhat.com>
This commit is contained in:
@ -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"
|
is "$output" "0" "Failing streak of restarted container should be 0 again"
|
||||||
|
|
||||||
run_podman rm -f -t0 $ctr
|
run_podman rm -f -t0 $ctr
|
||||||
|
run_podman rmi $img
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "podman healthcheck --health-on-failure" {
|
@test "podman healthcheck --health-on-failure" {
|
||||||
|
@ -319,6 +319,7 @@ EOF
|
|||||||
is "$output" "running" "container should be started by systemd and hence be running"
|
is "$output" "running" "container should be started by systemd and hence be running"
|
||||||
|
|
||||||
service_cleanup $QUADLET_SERVICE_NAME inactive
|
service_cleanup $QUADLET_SERVICE_NAME inactive
|
||||||
|
run_podman rmi $(pause_image)
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: filetype=sh
|
# vim: filetype=sh
|
||||||
|
Reference in New Issue
Block a user