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

ruby-changes:52420

From: nobu <ko1@a...>
Date: Tue, 4 Sep 2018 14:28:43 +0900 (JST)
Subject: [ruby-changes:52420] nobu:r64629 (trunk): bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]

nobu	2018-09-04 14:28:38 +0900 (Tue, 04 Sep 2018)

  New Revision: 64629

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64629

  Log:
    bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]
    
    From: MSP-Greg <greg.mpls@g...>

  Modified files:
    trunk/bootstraptest/test_io.rb
Index: bootstraptest/test_io.rb
===================================================================
--- bootstraptest/test_io.rb	(revision 64628)
+++ bootstraptest/test_io.rb	(revision 64629)
@@ -30,11 +30,11 @@ assert_finish 10, %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_io.rb#L30
   end
 }, '[ruby-dev:32566]'
 
-assert_finish 2, %q{
+assert_finish 1, %q{
   r, w = IO.pipe
-  Thread.new(Thread.current) { |parent|
+  Thread.new {
     w << "ab"
-    Thread.pass until parent.stop?
+    sleep 0.01
     w << "ab"
   }
   r.gets("abab")

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

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