diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-11-27 14:40:58 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2017-11-27 14:40:58 -0500 |
commit | d0f3f1fcad043f9f262253f5d35b139a8c38ed6a (patch) | |
tree | 1b1c3bb6a4e078046de6bbdeb987057f1e90865f /test | |
parent | fbbf416233fd619c45dd3fa4f1723f335cc4a618 (diff) | |
download | podman-d0f3f1fcad043f9f262253f5d35b139a8c38ed6a.tar.gz podman-d0f3f1fcad043f9f262253f5d35b139a8c38ed6a.tar.bz2 podman-d0f3f1fcad043f9f262253f5d35b139a8c38ed6a.zip |
Fix kpod pause tests - pausing a created container is valid
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/kpod_pause.bats | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/kpod_pause.bats b/test/kpod_pause.bats index 23c27ae71..3d6ab7b91 100644 --- a/test/kpod_pause.bats +++ b/test/kpod_pause.bats @@ -29,7 +29,10 @@ function teardown() { ctr_id="$output" run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} pause $ctr_id" echo "$output" - [ "$status" -eq 1 ] + [ "$status" -eq 0 ] + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} unpause $ctr_id" + echo "$output" + [ "$status" -eq 0 ] run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm $ctr_id" echo "$output" [ "$status" -eq 0 ] |