From ca9f7009db8aea70af3dd58cb6c7de0010844d22 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 7 Feb 2011 04:27:46 +0000 Subject: 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 --- test/ruby/test_process.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 0df1491b68..b45bfb9bb0 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -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 } -- cgit v1.2.3