From 3aa10de84261b3bed08d13e34583a3194326094d Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 8 Jan 2005 18:18:36 +0000 Subject: update readpartial document. don't try read timeout on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_readpartial.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby') 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 -- cgit