summaryrefslogtreecommitdiff
path: root/test/kpod_ps.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_ps.bats')
-rw-r--r--test/kpod_ps.bats4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/kpod_ps.bats b/test/kpod_ps.bats
index 4f722da34..99127cb8f 100644
--- a/test/kpod_ps.bats
+++ b/test/kpod_ps.bats
@@ -7,6 +7,10 @@ function setup() {
copy_images
}
+function teardown() {
+ run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f `${KPOD_BINARY} ${KPOD_OPTIONS} ps -a -q`"
+ cleanup_test
+}
@test "kpod ps with no containers" {
run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} ps