Avoid SHA-1 test failures

Originally only necessary for RHEL 10+, the deprecation of SHA-1 signature
verification in openssl now also applies to Fedora 41.

This is a follow-up to commit 2fdea5c974.

https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer
https://fedoraproject.org/wiki/SHA1SignaturesGuidance
This commit is contained in:
Yaakov Selkowitz 2024-07-26 15:14:56 -04:00
parent b6bd9365d9
commit d8e81875b9

View File

@ -110,9 +110,7 @@ sed -i '/self.driver.start(env=env)/i \ \ \ \ \ \ \ \ env["PYTHONPATH"] = "%{bui
tests/utils/botocore/__init__.py
export TESTS_REMOVE_REPO_ROOT_FROM_PATH=1 TZ=UTC
%if 0%{?rhel}
export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%endif
%pytest --verbose %{!?rhel:--numprocesses=auto --dist=loadfile --maxprocesses=4} tests/unit tests/functional