ruby-changes:14243
From: usa <ko1@a...>
Date: Fri, 11 Dec 2009 16:47:39 +0900 (JST)
Subject: [ruby-changes:14243] Ruby:r26066 (trunk): * bootstraptest/test_thread.rb: please please please remember that there are
usa 2009-12-11 16:47:29 +0900 (Fri, 11 Dec 2009) New Revision: 26066 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26066 Log: * bootstraptest/test_thread.rb: please please please remember that there are platforms that do not support fork. Modified files: trunk/bootstraptest/test_thread.rb Index: bootstraptest/test_thread.rb =================================================================== --- bootstraptest/test_thread.rb (revision 26065) +++ bootstraptest/test_thread.rb (revision 26066) @@ -437,5 +437,9 @@ }, '[ruby-core:23572]' assert_equal 'ok', %q{ - Process.waitpid2(fork {sleep 1})[1].success? ? 'ok' : 'ng' + begin + Process.waitpid2(fork {sleep 1})[1].success? ? 'ok' : 'ng' + rescue NotImplementedError + 'ok' + end } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/