mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
Fix kpod pause tests - pausing a created container is valid
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
@ -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 ]
|
||||
|
Reference in New Issue
Block a user