diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-11-24 11:04:22 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-11-29 12:15:15 +0000 |
commit | 0e3dd5f6877db7eed33319176f5e9a63fbefc4db (patch) | |
tree | ca06ac9c88338444b0d841e924e0987ea76b2833 /test/kpod_ps.bats | |
parent | 831e2c30d479a92c203d2caf82106cb85a6cdfc8 (diff) | |
download | podman-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_ps.bats')
-rw-r--r-- | test/kpod_ps.bats | 4 |
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 |