summaryrefslogtreecommitdiff
path: root/test/kpod_create.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_create.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_create.bats')
-rw-r--r--test/kpod_create.bats3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/kpod_create.bats b/test/kpod_create.bats
index 5605b5fe0..7346834c7 100644
--- a/test/kpod_create.bats
+++ b/test/kpod_create.bats
@@ -7,18 +7,17 @@ function setup() {
}
function teardown() {
+ run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f `${KPOD_BINARY} ${KPOD_OPTIONS} ps -a -q`"
cleanup_test
}
@test "create a container based on local image" {
- skip "Reenable after kpod rm merges, and use rm to clean up"
run ${KPOD_BINARY} ${KPOD_OPTIONS} create $BB ls
echo "$output"
[ "$status" -eq 0 ]
}
@test "create a container based on a remote image" {
- skip "Reenable after kpod rm merges, and use rm to clean up"
run ${KPOD_BINARY} ${KPOD_OPTIONS} create ${BB_GLIBC} ls
echo "$output"
[ "$status" -eq 0 ]