ruby/test
Kazuki Yamaguchi a6da77c9e9 [ruby/openssl] ssl: fix tests using TLS 1.1 or older
Commit aa7f03e18f broke test_minmax_version and test_fallback_scsv
on systems using OpenSSL 1.1.1 with a system-wide configuration file
that specifies MinProtocol=TLSv1.2.

20250228T003003Z.fail.html.gz
20250228T003003Z.fail.html.gz

These test cases were already broken before the commit, but they were
being skipped because check_supported_protocol_versions failed to detect
TLS 1.1 support. To avoid affected by the configuration file, explicitly
reset SSLContext#min_version when TLS 1.1 or older is required.

The test cases are also broken with OpenSSL 3.0 or later, but this is
not currently visible because it still fails to detect TLS 1.1 support.
This is caused by the default SSLContext#security_level value, as
OpenSSL 3.0 changed TLS 1.1 to be disabled at level 1.

6d0ea81b5e
2025-02-28 04:33:43 +00:00
..
-ext- [Feature #21116] Extract RJIT as a third-party gem 2025-02-13 18:01:03 +09:00
.excludes Do not intern invalid symbols in eval parse 2025-01-07 22:30:16 -05:00
.excludes-mmtk Skip TestObjSpace#test_dump_flag_age for MMTk 2025-02-19 09:47:28 -05:00
cgi [ruby/cgi] Escape/unescape unclosed tags as well 2025-02-26 07:34:04 +00:00
coverage [prism/compiler] end_cursor should never be NULL 2024-11-21 13:51:59 +00:00
date [ruby/date] Skip tests failing on TruffleRuby 2025-01-10 15:59:25 +00:00
did_you_mean Switch to use ostruct to open3 with suggestion test 2025-01-08 17:12:19 +09:00
digest
dtrace
erb
error_highlight [ruby/error_highlight] Ensure first_line and last_line are set 2025-01-29 08:51:42 +00:00
etc [ruby/etc] Fix sysconfdir when load-relative 2024-10-17 07:32:38 +00:00
fiber Ensure fiber scheduler re-acquires mutex when interrupted from sleep. (#12158) 2024-11-23 23:54:12 +00:00
fileutils Skip some tests which don't work under permissionless containers 2024-08-23 09:34:41 +10:00
io [ruby/io-console] Add IO#ttyname that returns the tty name or nil 2024-12-02 08:03:30 +00:00
json [ruby/json] Ensure parser error snippets are valid UTF-8 2025-02-27 13:32:32 +09:00
lib [Feature #21116] Extract RJIT as a third-party gem 2025-02-13 18:01:03 +09:00
mkmf Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt 2024-06-24 18:14:34 +09:00
mmtk [ruby/mmtk] Use RUBY_TEST_TIMEOUT_SCALE for tests 2025-02-10 19:33:04 +00:00
monitor
net [ruby/net-http] Don't double-interrupt the test HTTP server 2024-12-31 10:00:41 +00:00
objspace Add age to rb_gc_object_metadata 2025-02-19 09:47:28 -05:00
open-uri [ruby/open-uri] Use ENV.update 2024-11-25 08:00:03 +00:00
openssl [ruby/openssl] ssl: fix tests using TLS 1.1 or older 2025-02-28 04:33:43 +00:00
optparse [ruby/optparse] Fix parsing array arguments with :into option 2024-08-05 02:28:12 +00:00
pathname Allow method chaining with Pathname#mkpath 2024-10-04 12:21:27 +09:00
prism [ruby/prism] Add a custom builder class for the parser translator 2025-02-25 15:44:56 +00:00
psych Make Pstore tests as optional 2025-01-10 10:19:39 +09:00
resolv [ruby/resolv] Omit Windows and MinGW platforms with with_udp_and_tcp 2024-11-26 02:44:00 +00:00
ripper [Bug #21004] Fix memory leak with "it" in parse.y 2025-01-05 09:06:12 +09:00
ruby Improve tests for small UTF regex with case fold. 2025-02-28 12:34:38 +09:00
rubygems Skip fiddle assertions if fiddle is not available 2025-02-25 15:36:46 +09:00
set [ruby/set] Fix ^ to respect subclasses 2024-12-02 08:28:58 +09:00
socket [Feature #21116] Extract RJIT as a third-party gem 2025-02-13 18:01:03 +09:00
stringio [ruby/stringio] Fix SEGV at unget to a null device StringIO 2025-02-21 12:06:19 +00:00
strscan [ruby/strscan] Enable tests passing on TruffleRuby 2025-02-25 15:36:46 +09:00
uri [ruby/uri] Fix merger of URI with authority component 2025-02-26 07:08:45 +00:00
win32 [ruby/win32-registry] Fix compatibility with JRuby 2024-10-17 01:51:41 +00:00
yaml [ruby/yaml] We should load rubygems for optional pstore gem 2025-01-14 04:36:25 +00:00
zlib [ruby/zlib] Don't call rb_str_set_len while released the GVL. 2024-11-20 21:02:16 +00:00
runner.rb
test_bundled_gems.rb Update test args with bundled gems. webrick has been removed that targets 2024-09-30 19:10:16 +09:00
test_delegate.rb [ruby/delegate] test: remove needless mu_pp 2024-04-30 23:31:26 +00:00
test_extlibs.rb Skip to existence check fiddle from TestExtLibs 2025-02-05 07:36:59 +09:00
test_find.rb
test_forwardable.rb
test_ipaddr.rb [ruby/ipaddr] Added to_json/as_json method 2024-10-18 15:00:37 +00:00
test_open3.rb
test_pp.rb [ruby/pp] Ensure the thread local state is always set up. 2025-02-25 03:38:04 +00:00
test_prettyprint.rb
test_pty.rb Add sleep to PTY tests to stabilize flaky failures (#12691) 2025-02-03 16:07:19 +09:00
test_rbconfig.rb
test_securerandom.rb [ruby/securerandom] Restore SecureRandom.alphanumeric same as Random::Formatter.alphanumeric of Ruby 3.3/3.4 2024-12-16 05:35:47 +00:00
test_shellwords.rb [ruby/shellwords] NUL char cannot be in shell words 2024-12-04 07:48:59 +00:00
test_singleton.rb
test_tempfile.rb [ruby/tempfile] Support anonymous tempfile on earlier than Ruby 3.2 2024-08-26 02:49:02 +00:00
test_time.rb
test_timeout.rb [ruby/timeout] updated tests 2024-12-03 06:49:56 +00:00
test_tmpdir.rb [ruby/tmpdir] Fix for path-like objects 2024-12-16 09:40:01 +00:00
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb