mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
10f5312de0
commit
e0b74f8a4d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue