1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use SIGINT to interrupt.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-12-15 04:29:20 +00:00
parent 84dcc38273
commit 57537ccb0e

View file

@ -692,7 +692,7 @@ class TestThreadGroup < Test::Unit::TestCase
t0 = Time.now.to_f
pid = spawn(EnvUtil.rubybin, '-e', 'r,=IO.pipe;r.read')
sleep 1;
Process.kill(:SIGQUIT, pid)
Process.kill(:SIGINT, pid)
Process.wait(pid)
s = $?
assert_equal([false, true, false],