mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
don't use infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b551e8c8b3
commit
29860b0bbb
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ EOW
|
|||
out = IO.popen(
|
||||
[ruby,
|
||||
'-e', 'STDERR.reopen(STDOUT)',
|
||||
'-e', 'at_exit{Process.kill(:INT, $$); loop{}}']) {|f|
|
||||
timeout(1) {
|
||||
'-e', 'at_exit{Process.kill(:INT, $$); sleep 5 }']) {|f|
|
||||
timeout(10) {
|
||||
f.read
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue