mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_process.rb: Process.daemon seems irrelevant [ci skip]
in the backtrace: http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1468677 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
00fac76efa
commit
95e09343a4
1 changed files with 2 additions and 2 deletions
|
@ -1724,7 +1724,7 @@ class TestProcess < Test::Unit::TestCase
|
|||
|
||||
if Process.respond_to?(:daemon)
|
||||
def test_daemon_default
|
||||
skip 'Process.daemon in IO.popen block deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
|
||||
skip 'IO.popen deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
|
||||
data = IO.popen("-", "r+") do |f|
|
||||
break f.read if f
|
||||
Process.daemon
|
||||
|
@ -1774,7 +1774,7 @@ class TestProcess < Test::Unit::TestCase
|
|||
|
||||
if File.directory?("/proc/self/task") && /netbsd[a-z]*[1-6]/ !~ RUBY_PLATFORM
|
||||
def test_daemon_no_threads
|
||||
skip 'Process.daemon in IO.popen block deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
|
||||
skip 'IO.popen deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
|
||||
pid, data = IO.popen("-", "r+") do |f|
|
||||
break f.pid, f.readlines if f
|
||||
Process.daemon(true, true)
|
||||
|
|
Loading…
Add table
Reference in a new issue