summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/win32ole/test_win32ole.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb
index 9bf196a362..92e97a7c6d 100644
--- a/test/win32ole/test_win32ole.rb
+++ b/test/win32ole/test_win32ole.rb
@@ -181,6 +181,7 @@ if defined?(WIN32OLE)
$SAFE = 1
svr = "Scripting.Dictionary"
svr.taint
+ Thread.current.report_on_exception = false
WIN32OLE.new(svr)
}
exc = assert_raise(SecurityError) {
@@ -195,6 +196,7 @@ if defined?(WIN32OLE)
svr = "Scripting.Dictionary"
host = "localhost"
host.taint
+ Thread.current.report_on_exception = false
WIN32OLE.new(svr, host)
}
exc = assert_raise(SecurityError) {
@@ -233,6 +235,7 @@ if defined?(WIN32OLE)
$SAFE = 1
svr = "winmgmts:"
svr.taint
+ Thread.current.report_on_exception = false
WIN32OLE.connect(svr)
}
exc = assert_raise(SecurityError) {