From baabb76cd745d2ed9b4dba6c33710944321ded98 Mon Sep 17 00:00:00 2001 From: ktsj Date: Mon, 10 Jun 2013 13:28:58 +0000 Subject: * test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_beginendblock.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb index e7901bce5e..909702a9e5 100644 --- a/test/ruby/test_beginendblock.rb +++ b/test/ruby/test_beginendblock.rb @@ -93,6 +93,7 @@ EOW 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| -- cgit v1.2.3