diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-08 01:50:47 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-08 01:50:47 +0000 |
| commit | a9500bbccd5090794d745500c65262ac68f4944c (patch) | |
| tree | 516078fb81023ea84a90b830a4b635c83edfd6d4 | |
| parent | d22e2877631257013dcd92f3428e259723783dd0 (diff) | |
merge revision(s) 33049:
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty
should be manipulated because master pty may not be a tty on some
environment (e.g. Solaris). [Bug:#5222] [ruby-dev:44420]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | test/ruby/test_rubyoptions.rb | 4 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Wed Feb 8 10:50:11 2012 Naohisa Goto <ngotogenome@gmail.com> + + * test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty + should be manipulated because master pty may not be a tty on some + environment (e.g. Solaris). [Bug:#5222] [ruby-dev:44420] + Wed Feb 8 10:38:36 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * Makefile.in (CFLAGS): append ARCH_FLAG. diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 4fb26111ba..339999a17e 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -514,7 +514,7 @@ class TestRubyOptions < Test::Unit::TestCase IO.pipe {|r, w| begin PTY.open {|m, s| - m.echo = false + s.echo = false m.print("\C-d") pid = spawn(EnvUtil.rubybin, :in => s, :out => w) w.close @@ -530,7 +530,7 @@ class TestRubyOptions < Test::Unit::TestCase assert_equal("", result, '[ruby-dev:37798]') IO.pipe {|r, w| PTY.open {|m, s| - m.echo = false + s.echo = false pid = spawn(EnvUtil.rubybin, :in => s, :out => w) w.close m.print("$stdin.read; p $stdin.gets\n\C-d") @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 58 +#define RUBY_PATCHLEVEL 59 #define RUBY_RELEASE_DATE "2012-02-08" #define RUBY_RELEASE_YEAR 2012 |
