mirror of
https://github.com/containers/podman.git
synced 2025-10-09 14:56:05 +08:00
Merge pull request #27233 from Luap99/test-fix
test/system: two small fixes
This commit is contained in:
@ -1638,7 +1638,7 @@ search | $IMAGE |
|
||||
"$command --authfile=nonexistent-path"
|
||||
|
||||
if [[ "$command" != "logout" ]]; then
|
||||
REGISTRY_AUTH_FILE=$bogus run_podman ? $command $args
|
||||
REGISTRY_AUTH_FILE=$bogus run_podman '?' $command $args
|
||||
assert "$output" !~ "credential file is not accessible" \
|
||||
"$command REGISTRY_AUTH_FILE=nonexistent-path"
|
||||
|
||||
|
@ -114,7 +114,9 @@ load helpers
|
||||
run_podman run --rm -d --name $cname $IMAGE top
|
||||
run_podman kill $cname
|
||||
is "$output" $cname
|
||||
run_podman ? wait $cname
|
||||
# Wait for the container to get removed to avoid the leak check from triggering,
|
||||
# since it might have already been removed here ignore the exit code check.
|
||||
run_podman '?' wait --condition=removing $cname
|
||||
}
|
||||
|
||||
# bats test_tags=ci:parallel
|
||||
|
Reference in New Issue
Block a user