ruby-changes:40878
From: ngoto <ko1@a...>
Date: Tue, 8 Dec 2015 23:33:47 +0900 (JST)
Subject: [ruby-changes:40878] ngoto:r52957 (trunk): * test/io/console/test_io_console.rb (run_pty): Avoid waiting twice
ngoto 2015-12-08 23:33:29 +0900 (Tue, 08 Dec 2015) New Revision: 52957 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52957 Log: * test/io/console/test_io_console.rb (run_pty): Avoid waiting twice for a process. Fix Errno::ECHILD in TestIO_Console#test_close and TestIO_Console#test_sync. Modified files: trunk/ChangeLog trunk/test/io/console/test_io_console.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 52956) +++ ChangeLog (revision 52957) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Dec 8 23:30:07 2015 Naohisa Goto <ngotogenome@g...> + + * test/io/console/test_io_console.rb (run_pty): Avoid waiting twice + for a process. Fix Errno::ECHILD in TestIO_Console#test_close and + TestIO_Console#test_sync. + Tue Dec 8 23:05:47 2015 Koichi Sasada <ko1@a...> * compile.c (iseq_ibf_dump): fix for clang type checker. Index: test/io/console/test_io_console.rb =================================================================== --- test/io/console/test_io_console.rb (revision 52956) +++ test/io/console/test_io_console.rb (revision 52957) @@ -285,7 +285,6 @@ class TestIO_Console < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L285 else result = [] n.times {result << r.gets.chomp} - Process.wait(pid) result end ensure -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/