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): don't
close stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
36cad2f9a6
commit
34913093f9
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon May 30 22:19:33 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't
|
||||
close stderr.
|
||||
|
||||
Mon May 30 20:22:00 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_signal.rb (TestSignal#test_signal_requiring): small
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue