ruby/test
naruse 59a6ed8cc1 merge revision(s) 62668: [Backport #14578]
thread.c: reset waitq of keeping mutexes in child

	We must not maintain references to threads in the parent process
	in any mutexes held by the child process.

	* thread_sync.c (rb_mutex_cleanup_keeping_mutexes): new function
	* thread.c (rb_thread_atfork): cleanup keeping mutexes
	  [ruby-core:85940] [Bug #14578]

	Fixes: r58604 (commit 3586c9e087)
	       ("reduce rb_mutex_t size from 160 to 80 bytes on 64-bit")

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-20 02:08:27 +00:00
..
-ext- merge revision(s) 62116,62151: [Backport #14425] 2018-02-20 20:11:47 +00:00
base64 lib/base64.rb: Specify frozen_string_literal: true. 2017-02-10 00:58:45 +00:00
benchmark lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
bigdecimal bigdecimal: version 1.3.4 2017-12-24 06:22:41 +00:00
cgi Fix strange indentation 2017-05-18 15:13:30 +00:00
coverage test/coverage/test_coverage.rb: make the expected value the same as 2.4 2017-12-20 04:45:05 +00:00
csv test_features.rb: fix unused variable warning 2017-09-26 10:45:14 +00:00
date merge revision(s) 62572: [Backport #14549] 2018-02-28 09:52:40 +00:00
dbm merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
digest Fix tests which fail with extra stderr output when a Thread dies 2017-12-12 18:44:21 +00:00
drb Fix r60271 2017-10-21 14:22:04 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb merge revision(s) 61497: [Backport #14243] 2018-01-03 18:11:47 +00:00
etc test_etc.rb: fix test_getgrnam for duplicated group names 2017-09-29 17:19:37 +00:00
excludes
fiddle Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
fileutils Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
gdbm merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
io test_io_console.rb: get rid of sporadic failures 2017-12-23 14:31:56 +00:00
irb merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
json require 'bigdecimal' 2017-06-16 04:04:53 +00:00
lib merge revision(s) 61625,61626,61627: 2018-01-05 20:40:54 +00:00
logger revert r60999 2017-12-04 00:23:31 +00:00
matrix lib/matrix: Add hadamard_product/entrywise_product. 2017-11-20 02:18:43 +00:00
minitest test_minitest_unit.rb: assert_triggered 2017-03-29 09:47:40 +00:00
misc test_ruby_mode.rb: fix for Emacs 25.1 2016-09-24 01:19:43 +00:00
mkmf multiple arguments to write 2017-10-23 14:05:07 +00:00
monitor Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
net merge revision(s) 61639: [Backport #14323] 2018-02-16 08:17:36 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
open-uri open-uri defines URI.open defined as an alias. 2017-12-21 14:15:04 +00:00
openssl openssl: suppress report_on_exception warning 2017-12-15 08:19:32 +00:00
optparse multiple arguments to write 2017-10-23 14:05:07 +00:00
ostruct test/ostruct: Specify frozen_string_literal: true. 2017-10-25 23:45:33 +00:00
pathname merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
psych Merge psych-3.0.2 from ruby/psych. 2017-12-19 09:44:33 +00:00
rdoc merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
readline Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
resolv fix test errors on Windows 2017-12-20 16:04:41 +00:00
rexml REXML: Fix a bug that unexpected methods can be called as a XPath function 2017-08-13 12:14:24 +00:00
rinda Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
ripper parse.y: refactor list literals 2017-11-24 04:26:27 +00:00
rss rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
ruby merge revision(s) 62668: [Backport #14578] 2018-03-20 02:08:27 +00:00
rubygems merge revision(s) 62244,62246,62301,62302,62303,62422,62436,62452: [Backport #14481] 2018-03-19 08:27:04 +00:00
scanf Fix bug about String#scanf("%a") 2017-10-21 12:34:13 +00:00
sdbm merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
stringio Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
strscan strscan.c: add MatchData-like methods 2017-11-29 07:57:48 +00:00
syslog
testunit assertions.rb: fix return in assert_raise 2017-11-02 12:29:33 +00:00
thread Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
uri Allow empty path components in a URI [Bug #8352] 2017-12-14 01:11:28 +00:00
webrick webrick: add test for WEBrick::HTTPServlet::ERBHandler 2017-12-22 01:07:50 +00:00
win32ole Thread.current.report_on_exception = false 2017-12-14 06:38:47 +00:00
yaml lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
zlib zlib.c: multiple arguments to write 2017-10-23 07:06:12 +00:00
colors
runner.rb the working directory may not be srcdir 2017-09-07 17:45:34 +00:00
test_abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
test_cmath.rb lib/cmath.rb: Specify frozen_string_literal: true. 2017-01-04 05:47:52 +00:00
test_delegate.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_extlibs.rb Revert "test/test_extilibs.rb: do not check the existence of fiddle" 2017-05-16 23:59:01 +00:00
test_find.rb merge revision(s) 61501,61758: [Backport #14481] 2018-03-19 08:15:16 +00:00
test_forwardable.rb * test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840] 2016-10-31 08:43:54 +00:00
test_ipaddr.rb Import ipaddr 1.2.0 2017-10-21 13:34:19 +00:00
test_mutex_m.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
test_open3.rb lib/open3.rb: accept IO-like object for :stdin_data argument. 2017-10-21 07:00:58 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb prime.rb: remove alias after timeout test 2017-05-20 10:21:44 +00:00
test_pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
test_pty.rb
test_rbconfig.rb
test_securerandom.rb Use \A and \z instead of ^ and $ 2017-10-22 09:16:54 +00:00
test_set.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_shellwords.rb Fix the handling of the backslash in double quotes 2016-11-05 04:58:48 +00:00
test_singleton.rb
test_syslog.rb
test_tempfile.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_time.rb Make Time.parse respect timezone offset seconds 2017-10-20 01:03:18 +00:00
test_timeout.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_tmpdir.rb test/test_tmpdir.rb: Specify frozen_string_literal: true. 2017-01-23 15:47:32 +00:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb * test/ruby/enc/test_case_comprehensive.rb, test_regex_casefold.rb, 2016-07-03 09:51:46 +00:00
test_weakref.rb lib/weakref.rb: Specify frozen_string_literal: true. 2017-01-26 15:14:00 +00:00
test_win32api.rb