aboutsummaryrefslogtreecommitdiffstats
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
commitdb95cb49af50b005c26bdab8a80257f070f78fbe (patch)
tree6d1df9a7919c4a8d055bbb6ed5503a73e9f9333c
parent661955cc39db3a96f9adc731e3df7c2fef9882ef (diff)
downloadruby-db95cb49af50b005c26bdab8a80257f070f78fbe.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--test/io/nonblock/test_flush.rb2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a2dd247bd0..2eea901b80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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