summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:21:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:21:10 +0000
commitfe39ce87dda92a3c9a76a70d8465da4b4e172567 (patch)
tree62f5c70b25e889b6573be6a09234659bd1748f01 /test
parent5ac71d9f9e4b413702e53b3c6464c1e249e298be (diff)
* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
work in text mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 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 fd601e7d33..b969c38692 100644
--- a/test/ruby/test_readpartial.rb
+++ b/test/ruby/test_readpartial.rb
@@ -5,6 +5,8 @@ require 'fcntl'
class TestReadPartial < Test::Unit::TestCase
def make_pipe
r, w = IO.pipe
+ r.binmode
+ w.binmode
begin
yield r, w
ensure