aboutsummaryrefslogtreecommitdiff
path: root/test/kpod_run.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_run.bats')
-rw-r--r--test/kpod_run.bats5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/kpod_run.bats b/test/kpod_run.bats
index 5c38c37da..ee21430f8 100644
--- a/test/kpod_run.bats
+++ b/test/kpod_run.bats
@@ -2,6 +2,11 @@
load helpers
+function teardown() {
+ run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f `${KPOD_BINARY} ${KPOD_OPTIONS} ps -a -q`"
+ cleanup_test
+}
+
function setup() {
copy_images
}