summaryrefslogtreecommitdiff
path: root/test/win32ole
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 08:40:39 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 08:40:39 +0000
commite0b74f8a4d44c7f4304f89b99d4a26cc3c295a76 (patch)
treedce416d4dacda1e5a7d5a8466a12c4896a0a6186 /test/win32ole
parent10f5312de081a9fb593d880620bd876e470b9bad (diff)
* 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
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_err_in_callback.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb
index 395173d..422fb31 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