ruby-changes:29167
From: ktsj <ko1@a...>
Date: Mon, 10 Jun 2013 22:29:10 +0900 (JST)
Subject: [ruby-changes:29167] ktsj:r41219 (trunk): * test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError.
ktsj 2013-06-10 22:28:58 +0900 (Mon, 10 Jun 2013) New Revision: 41219 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41219 Log: * test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError. Modified files: trunk/test/ruby/test_beginendblock.rb Index: test/ruby/test_beginendblock.rb =================================================================== --- test/ruby/test_beginendblock.rb (revision 41218) +++ test/ruby/test_beginendblock.rb (revision 41219) @@ -93,6 +93,7 @@ EOW https://github.com/ruby/ruby/blob/trunk/test/ruby/test_beginendblock.rb#L93 def test_exitcode_in_at_exit bug8501 = '[ruby-core:55365] [Bug #8501]' + ruby = EnvUtil.rubybin out = IO.popen([ruby, '-e', 'STDERR.reopen(STDOUT)', '-e', 'o = Object.new; def o.inspect; raise "[Bug #8501]"; end', '-e', 'at_exit{o.nope}']) {|f| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/