From 34ac0ea7bfa0544cc26b943218069d35789e88fd Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 21 Sep 2014 04:54:46 +0000 Subject: wait until the thread is stopped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_thread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index 048aeb19c2..d64f44be49 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -85,7 +85,7 @@ assert_equal %q{ok}, %q{ ans = :ok end } - Thread.pass + Thread.pass until t.stop? t.kill t.join ans -- cgit v1.2.3