ruby-changes:56282
From: Nobuyoshi <ko1@a...>
Date: Sun, 30 Jun 2019 18:28:57 +0900 (JST)
Subject: [ruby-changes:56282] Nobuyoshi Nakada: 84837e6d16 (trunk): Wait for the helper thread to terminate
https://git.ruby-lang.org/ruby.git/commit/?id=84837e6d16 From 84837e6d16cb0e588b1acc2691cb1048b9a89989 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 30 Jun 2019 09:33:24 +0900 Subject: Wait for the helper thread to terminate diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index 1929805..48cb60c 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -340,6 +340,7 @@ class TestSignal < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_signal.rb#L340 w.close end assert_raise(Errno::ECHILD) { Process.wait(pid) } + th.join assert_nil nb end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/