1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
nagachika f404b21f84 merge revision(s) 496591de96: [Backport #18578]
st.c: Do not clear entries_bound when calling Hash#shift for empty
	 hash

	tab->entries_bound is used to check if the bins are full in
	rebuild_table_if_necessary.

	Hash#shift against an empty hash assigned 0 to tab->entries_bound, but
	didn't clear the bins. Thus, the table is not rebuilt even when the bins
	are full. Attempting to add a new element into full-bin hash gets stuck.

	This change stops clearing tab->entries_bound in Hash#shift.
	[Bug #18578]
	---
	 st.c                   |  1 -
	 test/ruby/test_hash.rb | 13 +++++++++++++
	 2 files changed, 13 insertions(+), 1 deletion(-)
2022-03-13 15:42:14 +09:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb merge revision(s) 7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d80702bd98a8276243a7fcaa2a158b3bfb659: [Backport #18516] 2022-03-13 11:52:53 +09:00
test_argf.rb
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb
test_assignment.rb
test_ast.rb
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_default_gems.rb
test_defined.rb
test_dir.rb
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb merge revision(s) ae5458f228: [Backport #18475] 2022-03-13 11:37:03 +09:00
test_enumerator.rb
test_env.rb
test_eval.rb
test_exception.rb merge revision(s) c79d2e5474: [Backport #18562] 2022-03-13 15:16:29 +09:00
test_fiber.rb merge revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497] 2022-03-13 11:47:39 +09:00
test_file.rb
test_file_exhaustive.rb
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb
test_frozen_error.rb
test_gc.rb
test_gc_compact.rb
test_hash.rb merge revision(s) 496591de96: [Backport #18578] 2022-03-13 15:42:14 +09:00
test_ifunless.rb
test_inlinecache.rb
test_integer.rb
test_integer_comb.rb
test_io.rb merge revision(s) b555e659c4: [Backport #18388] 2022-03-13 15:10:34 +09:00
test_io_m17n.rb
test_iseq.rb
test_iterator.rb
test_jit.rb
test_jit_debug.rb
test_key_error.rb
test_keyword.rb
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb
test_math.rb
test_memory_view.rb
test_metaclass.rb
test_method.rb merge revision(s) fb4cf204a662a8cd9dafef6f31f2bd0db9129abe,fa0279d947c3962c3f8c32852278d3ebb964cb19: [Backport #17725] 2021-12-24 17:47:44 +09:00
test_method_cache.rb
test_mixed_unicode_escapes.rb
test_module.rb
test_name_error.rb
test_nomethod_error.rb
test_not.rb
test_numeric.rb
test_object.rb
test_objectspace.rb
test_optimization.rb
test_pack.rb
test_parse.rb
test_path.rb
test_pattern_matching.rb
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb
test_regexp.rb
test_require.rb
test_require_lib.rb
test_rubyoptions.rb
test_rubyvm.rb
test_rubyvm_mjit.rb
test_settracefunc.rb merge revision(s) a4d5ee4f31: [Backport #18264] 2021-11-06 16:47:07 +09:00
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_stack.rb
test_string.rb
test_stringchar.rb
test_struct.rb
test_super.rb merge revision(s) 84202963c5: [Backport #18329] 2021-11-23 14:52:29 +09:00
test_symbol.rb
test_syntax.rb
test_system.rb
test_thread.rb
test_thread_cv.rb
test_thread_queue.rb
test_threadgroup.rb
test_time.rb
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb merge revision(s) d6c5a30cfdf658280338dbb8c8b17fab3190b928,a2d4e1cda68a49980a4f9f353f400efbde7e7884: [Backport #18392] 2022-03-12 16:28:26 +09:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb