ruby/test
normal 5be3869221 process: block/unblock signals around fork
As with forking for execve(2) in `spawn', we must block signals
to ensure they are handled correctly in a freshly `fork'-ed child.

* process.c (retry_fork_ruby): block/unblock signals around fork
  (rb_fork_ruby): re-enable signals in forked child
* test/ruby/test_process.rb (test_forked_child_signal): new test
  [ruby-core:82883] [Bug #13916]

  Thanks to Russell Davis for the bug report and test case.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 18:47:14 +00:00
..
-ext- sprintf.c: NULL as str 2017-09-09 09:16:59 +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 ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
cgi Fix strange indentation 2017-05-18 15:13:30 +00:00
coverage Introduce NODE_UNLESS for branch coverage 2017-09-14 05:27:02 +00:00
csv Fixed regression to convert blank value at r45497. 2017-08-22 06:57:00 +00:00
date ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
dbm {ext,test}/dbm: Specify frozen_string_literal: true. 2017-01-28 04:36:08 +00:00
digest
drb use dedicated assertions 2017-04-07 13:26:12 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb test/erb/test_erb.rb: Fix unused variable warning 2017-05-29 10:22:47 +00:00
etc {ext,test}/etc: Specify frozen_string_literal: true. 2017-01-29 01:35:23 +00:00
excludes
fiddle Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
fileutils test_fileutils.rb: rmdir should fail on nonexistent directory 2017-09-16 22:40:09 +00:00
gdbm Import gemspec and test file changes from ruby/gdbm. 2017-04-25 07:55:56 +00:00
io console.c: set winsize on Windows 2017-09-11 20:10:34 +00:00
irb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
json require 'bigdecimal' 2017-06-16 04:04:53 +00:00
lib assertions.rb: AllFailures#message encoding 2017-08-01 11:59:45 +00:00
logger logger.rb: Fix handling progname 2017-07-20 16:47:26 +00:00
matrix * lib/matrix.rb: Add Vector.zero and Vector#zero? 2017-03-14 20:09:30 +00:00
minitest test_minitest_unit.rb: assert_triggered 2017-03-29 09:47:40 +00:00
misc
mkmf test_framework.rb: for case-sensitive filesystem 2017-04-21 06:12:27 +00:00
monitor Add MonitorMinx#mon_locked? and #mon_owned? to check states of objects 2017-09-20 01:40:53 +00:00
net include query parameters in Net::HTTP.post 2017-09-15 16:53:55 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace ext/objspace/objspace.c: remove unneeded code clones. 2017-09-17 23:56:37 +00:00
open-uri revert r57323 2017-01-14 09:38:56 +00:00
openssl openssl: merge test fixes from upstream, part 2 2017-09-12 13:52:51 +00:00
optparse optparse.rb: case-sensitive candidate 2017-07-24 01:56:04 +00:00
ostruct ostruct.rb: refine visibility failure message 2017-03-28 09:21:58 +00:00
pathname pathname.rb: UNC root pathname needs a separator 2017-06-16 14:44:01 +00:00
psych Merge psych-3.0.0.beta3 from ruby/psych. 2017-07-14 06:15:58 +00:00
rdoc Removed needless magic-comment for encodings. 2017-09-13 09:06:34 +00:00
readline suppress warning: assigned but unused variable - line 2017-08-15 21:36:16 +00:00
resolv Made #decode_rdata client to catch errors 2017-01-14 02:26:48 +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 Stop a global server of Rinda test 2017-03-14 15:14:21 +00:00
ripper ripper: add states of scanner 2017-09-14 10:53:47 +00:00
rss rss: Accept empty text element as valid element 2017-05-03 12:25:17 +00:00
ruby process: block/unblock signals around fork 2017-09-20 18:47:14 +00:00
rubygems Backport test_realworld_default_gem test from Rubygems-2.6.13. 2017-09-11 09:44:29 +00:00
scanf
sdbm
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket test/socket/test_basicsocket.rb (socks): bind explicitly to localhost 2017-05-15 07:33:10 +00:00
stringio stringio.c: encoding at empty chomped result 2017-08-13 07:31:49 +00:00
strscan strscan.c: fix segfault in aref 2017-07-21 13:30:46 +00:00
syslog
testunit test_parallel.rb: match the count 2017-02-07 08:09:23 +00:00
thread test/thread: relax internal implementation check in error message 2017-05-09 19:52:10 +00:00
uri uri/generic.rb: fix exception on non-IP format 2017-01-17 12:54:35 +00:00
webrick lib/webrick/log.rb: sanitize any type of logs 2017-09-14 11:16:23 +00:00
win32ole test/win32ole/test_word.rb: word quit without confirmation dialog to save 2017-09-13 13:24:59 +00:00
yaml lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
zlib Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file [Bug #13616] 2017-07-14 09:17:55 +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 Delegate to `eql?` [Fix GH-1564] 2017-06-24 03:35:29 +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 lib/find.rb: Specify frozen_string_literal: true. 2017-02-13 12:16:26 +00:00
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
test_open3.rb
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 Update a test of SecureRandom according to r57384 2017-09-09 15:12:10 +00:00
test_set.rb Alias Set#=== to #include? 2017-09-19 08:45:12 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb Of course, opened file is not able to unlink on Windows 2017-05-19 12:44:46 +00:00
test_time.rb
test_timeout.rb
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_weakref.rb lib/weakref.rb: Specify frozen_string_literal: true. 2017-01-26 15:14:00 +00:00
test_win32api.rb