From 1a7f3d7cb7e36ed57d6acd0538e9db69ad050481 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 10 Apr 2012 19:34:34 +0000 Subject: [PATCH] It is wrong to expect the last output is "exit". When lb.join is commented out as [ruby-dev:30653] says, @keeper is living until the program truely die. So after it outputs "exit.", it may output "#{i}: cont". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_thread.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index b6514cfc88..7ea56c57d8 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -218,7 +218,6 @@ class TestThread < Test::Unit::TestCase 3.times { result = `#{EnvUtil.rubybin} #{lbtest}` assert(!$?.coredump?, '[ruby-dev:30653]') - assert_equal("exit.", result[/.*\Z/], '[ruby-dev:30653]') } end