From 1166368afc6395cd7ccf3616706ba357f620a2a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Mon, 15 Apr 2024 13:26:34 +0200 Subject: [PATCH] Update test to match error in curl 8.5.1 In curl 8.5.1 the error message changed from: ``` Protocol "xxxx" not supported or disabled in libcurl ``` to ``` Protocol "xxxx" not supported ``` update the test to match both old and new versions. --- dnf-behave-tests/dnf/config.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf-behave-tests/dnf/config.feature b/dnf-behave-tests/dnf/config.feature index 89bf898d4..ac9f95e2e 100644 --- a/dnf-behave-tests/dnf/config.feature +++ b/dnf-behave-tests/dnf/config.feature @@ -195,7 +195,7 @@ Scenario: Dnf prints reasonable error when remote config file is not downloadabl And stderr matches line by line """ Config error: Configuration file URL "xxxx://localhost:[\d]+/does-not-exist\.conf" could not be downloaded: - Curl error \(1\): Unsupported protocol for xxxx://localhost:[\d]+/does-not-exist\.conf \[Protocol "xxxx" not supported or disabled in libcurl\] + Curl error \(1\): Unsupported protocol for xxxx://localhost:[\d]+/does-not-exist\.conf \[Protocol "xxxx" not supported.*\] """ # host unknown When I execute dnf with args "-c http://the_host:{context.dnf.ports[/remotedir]}/does-not-exist.conf repolist repo-from-remote-config"