diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 00313a3237..1bee643c31 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -433,8 +433,9 @@ module Test while stat = Process.wait2 break if @interrupt # Break when interrupt pid, stat = stat - w = (@workers + @dead_workers).find{|x| pid == x.pid }.dup + w = (@workers + @dead_workers).find{|x| pid == x.pid } next unless w + w = w.dup if w.status != :quit && !w.quit_called? # Worker down w.died(nil, !stat.signaled? && stat.exitstatus) |