зеркало из https://github.com/github/ruby.git
TestProcess#test_wait_and_sigchild randomly fails on FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
dda0d61e68
Коммит
ca9f7009db
|
@ -1185,6 +1185,9 @@ class TestProcess < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_wait_and_sigchild
|
||||
if /freebsd/ =~ RUBY_PLATFORM
|
||||
skip "this randomly fails on FreeBSD"
|
||||
end
|
||||
signal_received = []
|
||||
Signal.trap(:CHLD) { signal_received << true }
|
||||
pid = fork { sleep 0.1; exit }
|
||||
|
|
Загрузка…
Ссылка в новой задаче