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 <ypu@redhat.com>

Closes: #180
Approved by: mheon
This commit is contained in:
Yiqiao Pu
2018-01-03 22:33:05 +08:00
committed by Atomic Bot
parent 3b7a8c8911
commit 26c83de943

View File

@ -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 ]
}