refine a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
654cdfb90b
commit
bb32165fe9
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
assert_finish 1, %q{
|
assert_finish 1, %q{
|
||||||
r, w = IO.pipe
|
r, w = IO.pipe
|
||||||
t1 = Thread.new { r.sysread(10) }
|
t1 = Thread.new { r.sysread(1) }
|
||||||
t2 = Thread.new { r.sysread(10) }
|
t2 = Thread.new { r.sysread(1) }
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
w.write "a"
|
w.write "a"
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user