mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_process.rb (test_wait_and_sigchild): remove debug
output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4b7c0e8a3
commit
d8d5cda2d4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jan 2 22:20:46 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_process.rb (test_wait_and_sigchild): remove debug
|
||||
output.
|
||||
|
||||
Fri Jan 2 17:45:19 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/mkconstants.rb: rename family_to_str to intern_family.
|
||||
|
|
|
@ -1047,7 +1047,7 @@ class TestProcess < Test::Unit::TestCase
|
|||
|
||||
def test_wait_and_sigchild
|
||||
signal_received = []
|
||||
Signal.trap(:CHLD) { signal_received << true; puts "child died" }
|
||||
Signal.trap(:CHLD) { signal_received << true }
|
||||
pid = fork { sleep 1; exit }
|
||||
Thread.start { raise }
|
||||
Process.wait pid
|
||||
|
|
Loading…
Add table
Reference in a new issue