mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]
From: MSP-Greg <greg.mpls@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3fa8d5ba7b
commit
fb7a569077
1 changed files with 3 additions and 3 deletions
|
|
@ -30,11 +30,11 @@ assert_finish 10, %q{
|
|||
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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue