mirror of https://github.com/containers/podman.git
Merge pull request #16974 from edsantiago/bats_cleanup
[minor] System tests: add missing cleanup
This commit is contained in:
commit
e332a244e3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue