summaryrefslogtreecommitdiffstats
path: root/bootstraptest
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
commit27108bdd85243256b98fc58d18fee1712ccdca6a (patch)
tree4cf998229300d3bfa43ed10919fd0de8030b6e38 /bootstraptest
parenta93b0c0a7907dcc33d598406e29361bf3a03b0a7 (diff)
downloadruby-27108bdd85243256b98fc58d18fee1712ccdca6a.tar.gz
ruby-27108bdd85243256b98fc58d18fee1712ccdca6a.tar.xz
ruby-27108bdd85243256b98fc58d18fee1712ccdca6a.zip
* bootsraptest/test_io.rb: skip the test of io/nonblock on Windows.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-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 229465421..24a5b3c68 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]'