ruby-changes:21000
From: ngoto <ko1@a...>
Date: Thu, 25 Aug 2011 01:23:35 +0900 (JST)
Subject: [ruby-changes:21000] ngoto:r33049 (trunk): * test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty
ngoto 2011-08-25 01:23:23 +0900 (Thu, 25 Aug 2011) New Revision: 33049 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33049 Log: * 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] Modified files: trunk/ChangeLog trunk/test/ruby/test_rubyoptions.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 33048) +++ ChangeLog (revision 33049) @@ -1,3 +1,9 @@ +Thu Aug 25 01:11:36 2011 Naohisa Goto <ngotogenome@g...> + + * 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 Aug 24 15:13:56 2011 Koichi Sasada <ko1@a...> * iseq.h, iseq.c, compile.c: Change the line number data structure Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 33048) +++ test/ruby/test_rubyoptions.rb (revision 33049) @@ -514,7 +514,7 @@ 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 @@ 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") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/