ruby/test/openssl
Yusuke Endoh c9a7643a7e test/openssl/test_ssl.rb: ignore SSLError when the connection is closed
"test_close_after_socket_close" checks if ssl.close is no-op even after
the wrapped socket is closed.  The test itself is fair, but the other
endpoint that is reading the SSL connection may fail with SSLError:
"SSL_read: unexpected eof while reading" in some environments:

60085389 (MinGW)
20200321T034442Z.fail.html.gz
```
  1) Failure:
OpenSSL::TestSSL#test_close_after_socket_close [D:/a/ruby/ruby/src/test/openssl/utils.rb:299]:
exceptions on 1 threads:
SSL_read: unexpected eof while reading
```

This changeset rescues and ignores the SSLError in the test.

(cherry picked from commit be76e86e69)
2020-03-26 22:17:08 +09:00
..
fixtures/pkey test/openssl: Support OpenSSL 1.1.1 2019-06-06 14:20:58 +09:00
test_asn1.rb Skip very time consuming test [Bug #16196] 2019-10-10 21:02:45 +09:00
test_bn.rb ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV 2019-04-10 12:57:39 +00:00
test_buffering.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_cipher.rb openssl: merge changes in v2.1.1 2018-05-12 07:33:53 +00:00
test_config.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
test_digest.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_engine.rb openssl: import e72d960db262 2017-09-24 16:26:22 +00:00
test_fips.rb openssl: merge test fixes from upstream 2017-09-05 09:47:59 +00:00
test_hmac.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_kdf.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_ns_spki.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_ocsp.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_pair.rb test/openssl: Support OpenSSL 1.1.1 2019-06-06 14:20:58 +09:00
test_pkcs7.rb openssl: sync with upstream repository 2018-08-08 14:13:53 +00:00
test_pkcs12.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkey_dh.rb test/openssl: Support OpenSSL 1.1.1 2019-06-06 14:20:58 +09:00
test_pkey_dsa.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkey_ec.rb Skip one assertion for OpenSSL::PKey::EC::Point#mul on LibreSSL 2019-06-06 21:46:36 -07:00
test_pkey_rsa.rb openssl: merge changes in v2.1.1 2018-05-12 07:33:53 +00:00
test_random.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_ssl.rb test/openssl/test_ssl.rb: ignore SSLError when the connection is closed 2020-03-26 22:17:08 +09:00
test_ssl_session.rb openssl: sync with upstream repository 2018-08-08 14:13:53 +00:00
test_x509attr.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509cert.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509crl.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509ext.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509name.rb Get rid of false positive misspellings 2019-12-24 10:33:32 +09:00
test_x509req.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509store.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ut_eof.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
utils.rb test/openssl/utils.rb: Extend the timeout for armv7l 2019-06-07 23:37:55 +09:00