mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00
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:
@ -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 ]
|
||||
}
|
||||
|
Reference in New Issue
Block a user