mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
another thread close IO object which current thread is blocking with. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
661955cc39
commit
db95cb49af
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Feb 20 15:08:25 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
|
||||
another thread close IO object which current thread is blocking with.
|
||||
|
||||
Tue Feb 20 15:03:29 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
|
||||
|
|
|
@ -4,8 +4,10 @@ begin
|
|||
rescue LoadError
|
||||
end
|
||||
|
||||
Thread.abort_on_exception = true
|
||||
class TestIONonblock < Test::Unit::TestCase
|
||||
def test_flush # [ruby-dev:24985]
|
||||
flunk "IO#close can't interrupt IO blocking on YARV"
|
||||
r,w = IO.pipe
|
||||
w.nonblock = true
|
||||
w.sync = false
|
||||
|
|
Loading…
Add table
Reference in a new issue