* 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

@ -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]