mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00

* bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using assert_finish. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
14 lines
285 B
Ruby
14 lines
285 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
assert_finish 1, %q{
|
|
r, w = IO.pipe
|
|
t1 = Thread.new { r.sysread(10) }
|
|
t2 = Thread.new { r.sysread(10) }
|
|
sleep 0.1
|
|
w.write "a"
|
|
sleep 0.1
|
|
w.write "a"
|
|
}, '[ruby-dev:31866]'
|