diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-08 18:17:13 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-08 18:17:13 +0000 |
commit | e80636f6f21032287fac8f312317092e3ca36332 (patch) | |
tree | 44d63fb6cd84d46a167b9d8df501b114724c92cc /test/ruby | |
parent | 40a3993ab5a6c5b26415632088afa4607ee9695f (diff) |
* io.c (io_fread): warn nonblocking behavior.
(io_readpartial): new method IO#readpartial.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_readpartial.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb index 526425dc57..3877e21f85 100644 --- a/test/ruby/test_readpartial.rb +++ b/test/ruby/test_readpartial.rb @@ -43,6 +43,7 @@ class TestReadPartial < Test::Unit::TestCase } end + if !File::ALT_SEPARATOR # read on pipe cannot timeout on Windows. def test_open_pipe pipe {|r, w| w << 'abc' @@ -67,6 +68,7 @@ class TestReadPartial < Test::Unit::TestCase } } end + end end |