diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 14:33:29 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 14:33:29 +0000 |
commit | d573666e625aa83cc0957c1e59f56c9e7938b14e (patch) | |
tree | c838f40122d7535c7842fa5359725c14034c130b /test/io/console/test_io_console.rb | |
parent | 6ee61d4bb9dac3fb3ed3bfb83014baed0a27a2ff (diff) | |
download | ruby-d573666e625aa83cc0957c1e59f56c9e7938b14e.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io/console/test_io_console.rb')
-rw-r--r-- | test/io/console/test_io_console.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index d5ddc08029..5d7a583cb0 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -285,7 +285,6 @@ class TestIO_Console < Test::Unit::TestCase else result = [] n.times {result << r.gets.chomp} - Process.wait(pid) result end ensure |