From e0b74f8a4d44c7f4304f89b99d4a26cc3c295a76 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 19 Mar 2013 08:40:39 +0000 Subject: [PATCH] * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_err_in_callback.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb index 395173d82c..422fb31288 100644 --- a/test/win32ole/test_err_in_callback.rb +++ b/test/win32ole/test_err_in_callback.rb @@ -39,7 +39,8 @@ 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" - system(cmd) + result = system(cmd) + p [result, cmd] str = "" open(logfile) {|ifs| str = ifs.read