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:
parent
84dcc38273
commit
57537ccb0e
1 changed files with 1 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Reference in a new issue