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):

redirect stderr to null device.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-06-01 16:32:15 +00:00
parent e93a9cfae7
commit 3e95b6386a
2 changed files with 6 additions and 1 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):
redirect stderr to null device.
Thu Jun 2 00:45:26 2011 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> Thu Jun 2 00:45:26 2011 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/extconf.rb: fix for uninitialized global variables. * ext/tk/extconf.rb: fix for uninitialized global variables.

View file

@ -202,7 +202,7 @@ class TestSignal < Test::Unit::TestCase
t = Tempfile.new(%w"require_ensure_test .rb") t = Tempfile.new(%w"require_ensure_test .rb")
t.puts "sleep" t.puts "sleep"
t.close t.close
error = IO.popen([EnvUtil.rubybin, "-e", <<EOS, t.path]) do |child| error = IO.popen([EnvUtil.rubybin, "-e", <<EOS, t.path, :err => File::NULL]) do |child|
trap(:INT, "DEFAULT") trap(:INT, "DEFAULT")
th = Thread.new do th = Thread.new do
begin begin