summaryrefslogtreecommitdiff
path: root/test/system/070-build.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/070-build.bats')
-rw-r--r--test/system/070-build.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/070-build.bats b/test/system/070-build.bats
index 06ff0c9e2..7b76c585f 100644
--- a/test/system/070-build.bats
+++ b/test/system/070-build.bats
@@ -922,6 +922,9 @@ function teardown() {
run_podman '?' rm -a -f
run_podman '?' rmi -f build_test
+ # Many of the tests above leave interim layers behind. Clean them up.
+ run_podman '?' image prune -f
+
basic_teardown
}