зеркало из https://github.com/github/ruby.git
* 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:
Родитель
b219a56c07
Коммит
3b3cf8753d
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче