Allow EPIPE when the child process has exited before interrupt
This commit is contained in:
parent
31774bd565
commit
5dfeffc614
@ -1547,6 +1547,8 @@ class TestProcess < Test::Unit::TestCase
|
||||
assert_operator(diff, :<, sec,
|
||||
->{"#{bug11340}: #{diff} seconds to interrupt Process.wait"})
|
||||
f.puts
|
||||
rescue Errno::EPIPE
|
||||
omit "child process exited already in #{diff} seconds"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user