From 26c83de94392aa0c1207bea358e3ea22fc047222 Mon Sep 17 00:00:00 2001 From: Yiqiao Pu Date: Wed, 3 Jan 2018 22:33:05 +0800 Subject: Enable three tests in podman_pause.bats Remove the skip for three tests as podman rm -f and podman stop works Signed-off-by: Yiqiao Pu Closes: #180 Approved by: mheon --- test/podman_pause.bats | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test') diff --git a/test/podman_pause.bats b/test/podman_pause.bats index 1408aa0c6..52add0397 100644 --- a/test/podman_pause.bats +++ b/test/podman_pause.bats @@ -39,7 +39,6 @@ function teardown() { } @test "pause a running container by id" { - skip "Test needs to wait for --force to work for podman rm" run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d $BB sleep 60" echo "$output" [ "$status" -eq 0 ] @@ -56,7 +55,6 @@ function teardown() { } @test "unpause a running container" { - skip "Test needs to wait for --force to work for podman rm" run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d $BB sleep 60" echo "$output" [ "$status" -eq 0 ] @@ -87,7 +85,6 @@ function teardown() { } @test "stop a paused container created by id" { - skip "Test needs to wait for podman stop to be implemented" run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} run -d $BB sleep 60" echo "$output" [ "$status" -eq 0 ] @@ -104,7 +101,7 @@ function teardown() { run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} ps -a --filter id=$ctr_id" echo "$output" [ "$status" -eq 0 ] - run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} rm $ctr_id" + run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} rm -f $ctr_id" echo "$output" [ "$status" -eq 0 ] } -- cgit v1.2.3-54-g00ecf