summaryrefslogtreecommitdiff
path: root/test/kpod_kill.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_kill.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_kill.bats')
-rw-r--r--test/kpod_kill.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kpod_kill.bats b/test/kpod_kill.bats
index c0f01e8b4..6fe67d643 100644
--- a/test/kpod_kill.bats
+++ b/test/kpod_kill.bats
@@ -3,7 +3,7 @@
load helpers
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
}