1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2012-04-10 19:34:34 +00:00
parent 85820f091a
commit 1a7f3d7cb7

View file

@ -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