aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pty.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pty.rb')
-rw-r--r--test/test_pty.rb1
1 files changed, 1 insertions, 0 deletions
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 $!