summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_readpartial.rb
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
commit6581828c03fcb4284bafbece2ae51f2d1a99c90c (patch)
tree44d63fb6cd84d46a167b9d8df501b114724c92cc /test/ruby/test_readpartial.rb
parent92aff68faea836ab655b2be61bc87a0117253a5e (diff)
downloadruby-6581828c03fcb4284bafbece2ae51f2d1a99c90c.tar.gz
ruby-6581828c03fcb4284bafbece2ae51f2d1a99c90c.tar.xz
ruby-6581828c03fcb4284bafbece2ae51f2d1a99c90c.zip
* io.c (io_fread): warn nonblocking behavior.
(io_readpartial): new method IO#readpartial. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_readpartial.rb')
-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 526425dc5..3877e21f8 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