summaryrefslogtreecommitdiff
path: root/test/io
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 14:33:29 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 14:33:29 +0000
commitd573666e625aa83cc0957c1e59f56c9e7938b14e (patch)
treec838f40122d7535c7842fa5359725c14034c130b /test/io
parent6ee61d4bb9dac3fb3ed3bfb83014baed0a27a2ff (diff)
* 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')
-rw-r--r--test/io/console/test_io_console.rb1
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