aboutsummaryrefslogtreecommitdiff
path: root/test/kpod_rm.bats
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2017-11-21 15:31:20 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-21 22:03:13 +0000
commit768fb6fe0f59467442a1aaaa4ca863d179255020 (patch)
tree0fa500b5edfb9768e52bd935dad9bba967fadb3a /test/kpod_rm.bats
parent4ff251d9118dfebde744fce8a2e2069144f259a4 (diff)
downloadpodman-768fb6fe0f59467442a1aaaa4ca863d179255020.tar.gz
podman-768fb6fe0f59467442a1aaaa4ca863d179255020.tar.bz2
podman-768fb6fe0f59467442a1aaaa4ca863d179255020.zip
Update kpod rm to use new container state
kpod rm now uses the new container state and runtime Signed-off-by: Urvashi Mohnani <umohnani@redhat.com> Closes: #58 Approved by: mheon
Diffstat (limited to 'test/kpod_rm.bats')
-rw-r--r--test/kpod_rm.bats10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/kpod_rm.bats b/test/kpod_rm.bats
index 6794f3eb4..73d469ca2 100644
--- a/test/kpod_rm.bats
+++ b/test/kpod_rm.bats
@@ -59,21 +59,13 @@ function setup() {
}
@test "remove a created container" {
- skip "Test needs to be converted to kpod run"
- start_crio
- run crioctl pod run --config "$TESTDATA"/sandbox_config.json
- echo "$output"
- [ "$status" -eq 0 ]
- pod_id="$output"
- run crioctl ctr create --config "$TESTDATA"/container_config.json --pod "$pod_id"
+ run ${KPOD_BINARY} ${KPOD_OPTIONS} create $BB ls
echo "$output"
[ "$status" -eq 0 ]
ctr_id="$output"
run bash -c ${KPOD_BINARY} $KPOD_OPTIONS rm -f "$ctr_id"
echo "$output"
[ "$status" -eq 0 ]
- cleanup_pods
- stop_crio
}
@test "remove a running container" {