summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-07 04:27:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-07 04:27:46 +0000
commitca9f7009db8aea70af3dd58cb6c7de0010844d22 (patch)
treec43eff35112c039dc64bf4448f24798c06f007ce /test
parentdda0d61e684ac1662416f7fc721b452e370f9add (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_process.rb3
1 files changed, 3 insertions, 0 deletions
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 }