From db95cb49af50b005c26bdab8a80257f070f78fbe Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 20 Feb 2007 06:11:37 +0000 Subject: * 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 --- test/io/nonblock/test_flush.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb index 40dbe94b3a..e3dca072d7 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 -- cgit v1.2.3