summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 18:18:36 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-08 18:18:36 +0000
commit16b5ba2707a711be7a7e0cbb5f8dc1b4f4f41c13 (patch)
treed4907549b52e57e3b88eabf6810e2ca092014773 /test
parent563a79c756cc0d0594929badc2c45bf9c13dfc98 (diff)
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
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 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