From 119aa9d295cc779fbf6d5af1ac899d8371ea3816 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 20 Mar 2013 06:21:46 +0000 Subject: [PATCH] * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_err_in_callback.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb index 422fb31288..395173d82c 100644 --- a/test/win32ole/test_err_in_callback.rb +++ b/test/win32ole/test_err_in_callback.rb @@ -39,8 +39,7 @@ if defined?(WIN32OLE) Dir.mktmpdir do |tmpdir| logfile = File.join(tmpdir, "test_err_in_callback.log") cmd = "#{@ruby} -v #{@iopt} #{@script} > #{logfile.gsub(%r(/), '\\')} 2>&1" - result = system(cmd) - p [result, cmd] + system(cmd) str = "" open(logfile) {|ifs| str = ifs.read