From 16b5ba2707a711be7a7e0cbb5f8dc1b4f4f41c13 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_readpartial.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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 -- cgit v1.2.3