ruby-changes:56047
From: Nobuyoshi <ko1@a...>
Date: Fri, 7 Jun 2019 23:51:49 +0900 (JST)
Subject: [ruby-changes:56047] Nobuyoshi Nakada: ffaefcadd8 (trunk): Report a sudden death of workers
https://git.ruby-lang.org/ruby.git/commit/?id=ffaefcadd8 From ffaefcadd81cb8e4d38114e76b1831ba95d6a6f3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 7 Jun 2019 23:08:43 +0900 Subject: Report a sudden death of workers diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index f11e417..16db7ad 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -257,6 +257,8 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L257 return if @io.closed? @quit_called = true @io.puts "quit" + rescue Errno::EPIPE => e + warn "#{@pid}:#{@status.to_s.ljust(7)}:#{@file}: #{e.message}" end def kill -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/