[packages/python-M2Crypto] - disable test failing with openssl 3.2.0
qboosh
qboosh at pld-linux.org
Mon Jan 1 21:14:45 CET 2024
commit 1f3ef38f47b8f4eed17a91dbbb73298512390e1b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jan 1 21:15:42 2024 +0100
- disable test failing with openssl 3.2.0
python-M2Crypto.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec
index 213b19d..d50f93f 100644
--- a/python-M2Crypto.spec
+++ b/python-M2Crypto.spec
@@ -93,6 +93,11 @@ Dokumentacja API modułu Pythona M2Crypto.
%prep
%setup -q -n M2Crypto-%{version}
+# test_verify_with_static_callback has some problems with multiple calls to SMIME.verify() with openssl 3.2.0
+%{__sed} -i -e '/ def test_verify_with_static_callback/ i\
+ @unittest.skip("fails with openssl 3.2.0")
+' tests/test_smime.py
+
%build
%if %{with python2}
%py_build %{?with_tests:test}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-M2Crypto.git/commitdiff/1f3ef38f47b8f4eed17a91dbbb73298512390e1b
More information about the pld-cvs-commit
mailing list