mirror of
https://github.com/containers/podman.git
synced 2025-06-29 23:22:40 +08:00
Update tests for changed error messages
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@ -180,7 +180,7 @@ EOF
|
||||
run_podman 125 push --authfile=$authfile \
|
||||
--tls-verify=false $IMAGE \
|
||||
localhost:${PODMAN_LOGIN_REGISTRY_PORT}/badpush:1
|
||||
is "$output" ".*: unauthorized: authentication required" \
|
||||
is "$output" ".* checking whether a blob .* exists in localhost:${PODMAN_LOGIN_REGISTRY_PORT}/badpush: authentication required" \
|
||||
"auth error on push"
|
||||
}
|
||||
|
||||
@ -253,7 +253,7 @@ function _test_skopeo_credential_sharing() {
|
||||
run skopeo inspect "$@" --tls-verify=false docker://$registry/$destname
|
||||
echo "$output"
|
||||
is "$status" "1" "skopeo inspect - exit status"
|
||||
is "$output" ".*: unauthorized: authentication required" \
|
||||
is "$output" ".*: authentication required" \
|
||||
"auth error on skopeo inspect"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user