diff --git a/test/test_pty.rb b/test/test_pty.rb index 0b05c62477..b6ce684509 100644 --- a/test/test_pty.rb +++ b/test/test_pty.rb @@ -211,6 +211,7 @@ class TestPTY < Test::Unit::TestCase PTY.spawn(RUBY, '-e', '') {|r, w, pid| assert(r.close_on_exec?) assert(w.close_on_exec?) + Process.wait(pid) } rescue RuntimeError skip $!