Skip to content

Commit

Permalink
Adjust for different openssl output on openssl 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Jul 17, 2023
1 parent 5740c44 commit 7b30ac6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ def test_base_size(auto_container, container_runtime):

def test_gost_digest_disable(auto_container):
"""Checks that the gost message digest is not known to openssl."""
openssl_error_message = (
"Invalid command 'gost'"
if OS_VERSION == "tumbleweed"
else "gost is not a known digest"
)
assert (
"gost is not a known digest"
openssl_error_message
in auto_container.connection.run_expect(
[1], "openssl gost /dev/null"
).stderr.strip()
Expand Down

0 comments on commit 7b30ac6

Please sign in to comment.