diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 23:21:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 23:21:10 +0000 |
commit | fe39ce87dda92a3c9a76a70d8465da4b4e172567 (patch) | |
tree | 62f5c70b25e889b6573be6a09234659bd1748f01 /test/ruby/test_readpartial.rb | |
parent | 5ac71d9f9e4b413702e53b3c6464c1e249e298be (diff) | |
download | ruby-fe39ce87dda92a3c9a76a70d8465da4b4e172567.tar.gz |
* 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/ruby/test_readpartial.rb')
-rw-r--r-- | test/ruby/test_readpartial.rb | 2 |
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 |