Merge pull request #16853 from vrothberg/wait-ignore

wait: add --ignore option
This commit is contained in:
OpenShift Merge Robot
2022-12-16 07:22:29 -05:00
committed by GitHub
6 changed files with 50 additions and 16 deletions

View File

@@ -20,6 +20,15 @@ load helpers
run_podman rm $rand
is "$output" "$rand" "display raw input"
run_podman 125 inspect $rand
run_podman 125 wait $rand
run_podman wait --ignore $rand
is "$output" "-1" "wait --ignore will mark missing containers with -1"
if !is_remote; then
# remote does not support the --latest flag
run_podman wait --ignore --latest
is "$output" "-1" "wait --ignore will mark missing containers with -1"
fi
}
@test "podman rm - running container, w/o and w/ force" {