ruby/test
Peter Zhu 176c4bb3c7 Fix corruption of internal encoding string
[Bug #20598]

Just like [Bug #20595], Encoding#name_list and Encoding#aliases can have
their strings corrupted when Encoding.default_internal is set to nil.

Co-authored-by: Matthew Valentine-House <matt@eightbitraptor.com>
2024-06-27 14:06:40 -04:00
..
-ext- String.new(capacity:) don't substract termlen 2024-06-19 15:11:07 +02:00
.excludes M:N thread scheduler for Ractors 2023-10-12 14:47:01 +09:00
.excludes-prism Move to test/.excludes-prism 2024-06-25 12:42:16 +09:00
benchmark
cgi [ruby/cgi] Add failing test cases for CGI::Escape.unescapeHTML 2023-11-30 08:19:28 +00:00
coverage [PRISM] Modify test_coverage to take prism into account 2024-04-26 12:25:45 -04:00
date [ruby/date] Remove the unintentional ability to parse `Symbol` 2024-02-21 16:04:52 +00:00
did_you_mean Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
digest
dtrace
erb
error_highlight [ruby/error_highlight] Support for the prism compiler 2024-06-07 13:15:14 +00:00
etc
fiber Enumerator should use a non-blocking fiber, change `rb_fiber_new` to be non-blocking by default. (#10481) 2024-04-08 00:49:01 +12:00
fiddle Extend the timeout of Fiddle::TestFunction#test_nogvl_poll 2024-06-24 13:11:45 +09:00
fileutils
io [ruby/io-console] Load the built extension library in noctty tests 2024-04-10 09:10:50 +00:00
irb [ruby/irb] Improve how command calls' return value is handled 2024-06-18 15:15:23 +00:00
json [flori/json] Make OpenStruct support as optional 2024-01-31 14:56:00 +09:00
lib Skip a test that is flaky with RJIT 2023-11-03 22:18:16 -07:00
logger [ruby/logger] Add support for symbols in #shift_age 2024-06-06 09:07:49 +00: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
monitor ensure to restart antoher thread 2023-12-23 05:56:02 +09:00
net [ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3 2024-04-25 08:01:53 +00:00
objspace Stabilize TestObjSpace#test_dump_special_consts 2024-05-09 12:23:34 +02:00
open-uri [ruby/open-uri] Set default for max_redirects and add exception class 2023-12-07 07:00:54 +00:00
openssl [ruby/openssl] Pass through nil as digest when signing certificates 2024-06-11 17:12:28 +00:00
optparse [ruby/optparse] Invoke pager for `--help` 2024-03-01 07:10:08 +00:00
ostruct
pathname
prism [ruby/prism] Handle block exits under modifiers 2024-06-26 20:46:27 +00:00
psych [ruby/psych] Add :stringify_names option to convert symbol keys to string for dumping 2024-01-18 17:32:34 +00:00
rdoc [ruby/rdoc] test: Add tests for RDoc::TokenStream#add_tokens, add_token ,collect_tokens and pop_token 2024-03-15 00:10:14 +00:00
reline [ruby/reline] Rerender and enter raw mode again by SIGCONT 2024-06-25 00:55:07 +00:00
resolv [ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb 2024-03-31 23:57:00 +00:00
ripper [Bug #20579] ripper: Dispatch spaces at END-OF-INPUT without newline 2024-06-14 17:54:02 +09:00
ruby Fix corruption of internal encoding string 2024-06-27 14:06:40 -04:00
rubygems [rubygems/rubygems] Don't print warning about nil versions being discouraged during tests 2024-06-26 16:11:44 +00:00
set
socket Revise 9ec342e07d 2024-02-26 13:12:05 +09:00
stringio [ruby/stringio] Remove special handling of chilled strings 2024-05-30 15:11:48 +00:00
strscan [ruby/strscan] Omit tests for `#scan_byte` and `#peek_byte` on 2024-03-27 12:17:01 +09:00
uri [ruby/uri] Make URI#to_s prepend relative path with / if there is a host or port 2024-01-05 16:07:55 +00:00
win32 Test for win32/registry.rb 2024-05-03 14:47:18 +09:00
win32ole [ruby/win32ole] Test constants for the backward compatibility 2024-03-23 10:34:35 +00:00
yaml [ruby/yaml] Make PStore support as optional 2024-01-31 05:56:39 +00:00
zlib [ruby/zlib] Avoid allocating intermediary strings when read/readpartial are passed an outbuf 2024-05-14 21:44:34 +00:00
runner.rb Refactor the settings of test-all out 2023-11-15 19:27:10 +09:00
test_delegate.rb [ruby/delegate] test: remove needless mu_pp 2024-04-30 23:31:26 +00:00
test_extlibs.rb Extract syslog 2024-01-22 15:59:40 +09:00
test_find.rb
test_forwardable.rb [ruby/forwardable] Relax regexp for Ruby 3.3 or before 2024-02-16 02:12:08 +00:00
test_ipaddr.rb [ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation 2024-04-18 10:27:19 +09:00
test_open3.rb
test_pp.rb [ruby/pp] Extract pp_hash_pair 2024-02-21 16:45:01 +00:00
test_prettyprint.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_shellwords.rb
test_singleton.rb
test_tempfile.rb Tempfile.create(anonymous: true) implemented. (#10803) 2024-06-01 15:11:19 +09:00
test_time.rb
test_timeout.rb Make test_nested_timeouts less flaky 2024-05-28 12:49:46 +09:00
test_tmpdir.rb
test_trick.rb Ensure test suite is compatible with --frozen-string-literal 2024-03-14 17:56:15 +01:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb