Wait for the helper thread to terminate

This commit is contained in:
Nobuyoshi Nakada 2019-06-30 09:33:24 +09:00
parent 41012f2e2b
commit 84837e6d16
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60

View File

@ -340,6 +340,7 @@ class TestSignal < Test::Unit::TestCase
w.close
end
assert_raise(Errno::ECHILD) { Process.wait(pid) }
th.join
assert_nil nb
end