summaryrefslogtreecommitdiffstats
path: root/test/io
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-20 06:11:37 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-20 06:11:37 +0000
commit54e2c590468a42e940eb4b0962d8f4d3c9a5f92b (patch)
tree6d1df9a7919c4a8d055bbb6ed5503a73e9f9333c /test/io
parent036075b62eccca728f15ed4455481d9291e597a2 (diff)
downloadruby-54e2c590468a42e940eb4b0962d8f4d3c9a5f92b.tar.gz
ruby-54e2c590468a42e940eb4b0962d8f4d3c9a5f92b.tar.xz
ruby-54e2c590468a42e940eb4b0962d8f4d3c9a5f92b.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@11796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io')
-rw-r--r--test/io/nonblock/test_flush.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index 40dbe94b3..e3dca072d 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -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