summaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_knownbug.rb
blob: 259ebc21ff26a93e95ce6567ddfb3900166265e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# 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(1) }
  t2 = Thread.new { r.sysread(1) }
  sleep 0.1
  w.write "a"
  sleep 0.1
  w.write "a"
}, '[ruby-dev:31866]'