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,
|
assert_operator(diff, :<, sec,
|
||||||
->{"#{bug11340}: #{diff} seconds to interrupt Process.wait"})
|
->{"#{bug11340}: #{diff} seconds to interrupt Process.wait"})
|
||||||
f.puts
|
f.puts
|
||||||
|
rescue Errno::EPIPE
|
||||||
|
omit "child process exited already in #{diff} seconds"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user