Skip to content

Commit

Permalink
Update test to match error in curl 8.5.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kontura authored and glum23 committed Aug 15, 2024
1 parent 0cb8982 commit 1166368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/config.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1166368

Please sign in to comment.