summaryrefslogtreecommitdiff
path: root/test/kpod_mount.bats
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-24 11:04:22 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-29 12:15:15 +0000
commit0e3dd5f6877db7eed33319176f5e9a63fbefc4db (patch)
treeca06ac9c88338444b0d841e924e0987ea76b2833 /test/kpod_mount.bats
parent831e2c30d479a92c203d2caf82106cb85a6cdfc8 (diff)
downloadpodman-0e3dd5f6877db7eed33319176f5e9a63fbefc4db.tar.gz
podman-0e3dd5f6877db7eed33319176f5e9a63fbefc4db.tar.bz2
podman-0e3dd5f6877db7eed33319176f5e9a63fbefc4db.zip
Update container-based tests
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
Diffstat (limited to 'test/kpod_mount.bats')
-rw-r--r--test/kpod_mount.bats4
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 ]
}