summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYiqiao Pu <ypu@redhat.com>2018-01-03 22:33:05 +0800
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-04 14:54:42 +0000
commit26c83de94392aa0c1207bea358e3ea22fc047222 (patch)
tree8b30c54a2459663ced0157b5d9af37c7cd6e5ba1 /test
parent3b7a8c8911ebb720c91c3d19f25509adbf28b444 (diff)
downloadpodman-26c83de94392aa0c1207bea358e3ea22fc047222.tar.gz
podman-26c83de94392aa0c1207bea358e3ea22fc047222.tar.bz2
podman-26c83de94392aa0c1207bea358e3ea22fc047222.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/podman_pause.bats5
1 files changed, 1 insertions, 4 deletions
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 ]
}