From 33858c1cf85d635a6b84346719b1353a091c353c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 7 Sep 2022 18:28:15 +0200 Subject: [PATCH] Update tests for changed error messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- test/system/150-login.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/150-login.bats b/test/system/150-login.bats index b85007f0b3..27689452ff 100644 --- a/test/system/150-login.bats +++ b/test/system/150-login.bats @@ -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" }