ruby-changes:27781
From: usa <ko1@a...>
Date: Wed, 20 Mar 2013 15:22:06 +0900 (JST)
Subject: [ruby-changes:27781] usa:r39833 (trunk): * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code).
usa 2013-03-20 15:21:46 +0900 (Wed, 20 Mar 2013) New Revision: 39833 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39833 Log: * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code). Modified files: trunk/test/win32ole/test_err_in_callback.rb Index: test/win32ole/test_err_in_callback.rb =================================================================== --- test/win32ole/test_err_in_callback.rb (revision 39832) +++ test/win32ole/test_err_in_callback.rb (revision 39833) @@ -39,8 +39,7 @@ if defined?(WIN32OLE) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_err_in_callback.rb#L39 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/