diff options
Diffstat (limited to 'test/kpod_mount.bats')
-rw-r--r-- | test/kpod_mount.bats | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/kpod_mount.bats b/test/kpod_mount.bats index 35f707451..46d10ad2e 100644 --- a/test/kpod_mount.bats +++ b/test/kpod_mount.bats @@ -5,6 +5,7 @@ load helpers IMAGE="redis:alpine" function teardown() { + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f `${KPOD_BINARY} ${KPOD_OPTIONS} ps -a -q`" cleanup_test } @@ -35,7 +36,4 @@ function setup() { run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id" echo "$output" [ "$status" -eq 0 ] - run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm $ctr_id" - echo "$output" - [ "$status" -eq 0 ] } |