[前][次][番号順一覧][スレッド一覧]

ruby-changes:18788

From: naruse <ko1@a...>
Date: Mon, 7 Feb 2011 13:27:51 +0900 (JST)
Subject: [ruby-changes:18788] Ruby:r30814 (trunk): TestProcess#test_wait_and_sigchild randomly fails on FreeBSD

naruse	2011-02-07 13:27:46 +0900 (Mon, 07 Feb 2011)

  New Revision: 30814

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30814

  Log:
    TestProcess#test_wait_and_sigchild randomly fails on FreeBSD

  Modified files:
    trunk/test/ruby/test_process.rb

Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 30813)
+++ test/ruby/test_process.rb	(revision 30814)
@@ -1185,6 +1185,9 @@
   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 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]