summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 18:17:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 18:17:13 +0000
commite80636f6f21032287fac8f312317092e3ca36332 (patch)
tree44d63fb6cd84d46a167b9d8df501b114724c92cc /test
parent40a3993ab5a6c5b26415632088afa4607ee9695f (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')
-rw-r--r--test/ruby/test_readpartial.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb
index 526425d..3877e21 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