M2Crypto : Regression test failure
Benoit Lecocq <[email protected]> Tue, 29 Sep 2009 19:17:47 +0200
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I try to use M2Crypto with OpenBSD to build a Ports but when I try the
regression test I obtain :
test_verify_dsa (tests.test_ecdsa.ECDSATestCase) ... ok
test_ec_curves_ECDSA (tests.test_ec_curves.ECCurveTests) ... ok
======================================================================
ERROR: test_server_simple_timeouts (tests.test_ssl.MiscSSLClientTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/tests/test_ssl.py", line
329, in test_server_simple_timeouts
s.set_socket_write_timeout(SSL.timeout(909,9))
File
"/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/M2Crypto/SSL/Connection.py",
line 349, in set_socket_write_timeout
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDTIMEO,
timeo.pack())
File "<string>", line 1, in setsockopt
error: (33, 'Numerical argument out of domain')
----------------------------------------------------------------------
Ran 236 tests in 85.907s
FAILED (errors=1)
Is it a know problem ? A know bug ?
Thanks,
benoit