diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_signal.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon May 30 22:19:33 2011 Tanaka Akira <[email protected]> + + * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't + close stderr. + Mon May 30 20:22:00 2011 NAKAMURA Usaku <[email protected]> * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): small diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index b53c68d925..e2aad73b63 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -202,7 +202,7 @@ class TestSignal < Test::Unit::TestCase t = Tempfile.new(%w"require_ensure_test .rb") t.puts "sleep" t.close - error = IO.popen([EnvUtil.rubybin, "-e", <<EOS, t.path, err: :close]) do |child| + error = IO.popen([EnvUtil.rubybin, "-e", <<EOS, t.path]) do |child| th = Thread.new do begin require ARGV[0] |