diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_beginendblock.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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| |