summaryrefslogtreecommitdiff
path: root/bootstraptest/test_io.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-25 04:09:59 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-25 04:09:59 +0000
commitd3eb0057379ec1c5467dd6bdc006e4f4176e065f (patch)
tree4cf998229300d3bfa43ed10919fd0de8030b6e38 /bootstraptest/test_io.rb
parent9585749e8eee4bb5bb0a52e0aea2716746f9d90c (diff)
* bootsraptest/test_io.rb: skip the test of io/nonblock on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_io.rb')
-rw-r--r--bootstraptest/test_io.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb
index 2294654..24a5b3c 100644
--- a/bootstraptest/test_io.rb
+++ b/bootstraptest/test_io.rb
@@ -14,6 +14,7 @@ assert_finish 10, %q{
require "timeout"
timeout(3) do
r, w = IO.pipe
+ w.nonblock?
w.nonblock = true
w.write_nonblock("a" * 100000)
w.nonblock = false
@@ -26,7 +27,7 @@ assert_finish 10, %q{
t1.join
t2.join
end
- rescue LoadError, TimeoutError
+ rescue LoadError, TimeoutError, NotImplementedError
end
}, '[ruby-dev:32566]'