summaryrefslogtreecommitdiff
path: root/test/kpod_rm.bats
diff options
context:
space:
mode:
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" {