Project

General

Profile

Bug #373 » test_io_noblock.patch

wanabe (_ wanabe), 11/06/2009 07:40 PM

View differences:

test/ruby/test_io.rb (working copy)
print "no" if ok != 2
print "ok"
End
assert_equal("ok", f.read)
begin
Timeout.timeout(10) do
assert_equal("ok", f.read)
end
rescue TimeoutError
Process.kill(:KILL, f.pid)
raise
end
}
end
(1-1/2)