[ruby-cvs:71286] normal:r64194 (trunk): test/ruby/test_process.rb (test_wait_and_sigchld): allow extra SIGCHLD

normal at ruby-lang.org normal at ruby-lang.org
Sun Aug 5 17:56:57 JST 2018

normal	2018-08-05 17:56:57 +0900 (Sun, 05 Aug 2018)

  New Revision: 64194


    test/ruby/test_process.rb (test_wait_and_sigchld): allow extra SIGCHLD
    MJIT way generate an extra SIGCHLD, so we'll have to deal with it.
    Any realistic Ruby program may hit unexpected SIGCHLD, too,
    since any spawned subprocess could have extra grandchildren
    which get reaped by the main Ruby process, and SIGCHLD may
    be sent spuriously by an external process using kill(2) syscall
    (via kill(1) or Process.kill).
    cf. http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1194620

  Modified files:

More information about the ruby-cvs mailing list