summaryrefslogtreecommitdiff
path: root/test/kpod_rm.bats
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-28 13:41:19 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-29 12:15:15 +0000
commite36483b1e644f8fb6f14a62c062ea635fb6851ed (patch)
tree55278869cd60cc491091085f9d1534997ea695f9 /test/kpod_rm.bats
parentbbef98621491b79d5b2a397bc17ed4d7967a7aff (diff)
downloadpodman-e36483b1e644f8fb6f14a62c062ea635fb6851ed.tar.gz
podman-e36483b1e644f8fb6f14a62c062ea635fb6851ed.tar.bz2
podman-e36483b1e644f8fb6f14a62c062ea635fb6851ed.zip
Fix tests - use rm -a -f instead of nested commands
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
Diffstat (limited to 'test/kpod_rm.bats')
-rw-r--r--test/kpod_rm.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kpod_rm.bats b/test/kpod_rm.bats
index ad8d43062..74d22e9ea 100644
--- a/test/kpod_rm.bats
+++ b/test/kpod_rm.bats
@@ -7,7 +7,7 @@ function setup() {
}
function teardown() {
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f `${KPOD_BINARY} ${KPOD_OPTIONS} ps -a -q`"
+ run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
cleanup_test
}