diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-15 04:29:20 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-15 04:29:20 +0000 |
commit | 57537ccb0ef8ccd644e0ca4196aebb834970f3f8 (patch) | |
tree | 63984e2a6eab68c2b79950fa21acaf2a6956ddec /test/ruby | |
parent | 84dcc38273665cba3f3756a454697edf11ab168a (diff) | |
download | ruby-57537ccb0ef8ccd644e0ca4196aebb834970f3f8.tar.gz |
Use SIGINT to interrupt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 64d9577c08..ec3901e2ac 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -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], |