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

* test/ruby/test_signal.rb (TestSignal#test_signal_requiring):

initialize SIGINT handler.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-05-31 12:29:26 +00:00
parent b219a56c07
commit 3b3cf8753d
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue May 31 21:28:33 2011 Tanaka Akira <akr@fsij.org>
* test/ruby/test_signal.rb (TestSignal#test_signal_requiring):
initialize SIGINT handler.
Tue May 31 17:03:24 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
* lib/net/http.rb, lib/net/protocol.rb: Allow to configure to wait

View file

@ -203,6 +203,7 @@ class TestSignal < Test::Unit::TestCase
t.puts "sleep"
t.close
error = IO.popen([EnvUtil.rubybin, "-e", <<EOS, t.path]) do |child|
trap(:INT, "DEFAULT")
th = Thread.new do
begin
require ARGV[0]