mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
5ac71d9f9e
commit
fe39ce87dd
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Feb 3 08:21:05 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
|
||||||
|
work in text mode.
|
||||||
|
|
||||||
Tue Feb 3 08:18:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Feb 3 08:18:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
|
* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
|
||||||
|
|
|
@ -5,6 +5,8 @@ require 'fcntl'
|
||||||
class TestReadPartial < Test::Unit::TestCase
|
class TestReadPartial < Test::Unit::TestCase
|
||||||
def make_pipe
|
def make_pipe
|
||||||
r, w = IO.pipe
|
r, w = IO.pipe
|
||||||
|
r.binmode
|
||||||
|
w.binmode
|
||||||
begin
|
begin
|
||||||
yield r, w
|
yield r, w
|
||||||
ensure
|
ensure
|
||||||
|
|
Loading…
Reference in a new issue