ruby-changes:49111
From: usa <ko1@a...>
Date: Thu, 14 Dec 2017 15:38:56 +0900 (JST)
Subject: [ruby-changes:49111] usa:r61226 (trunk): Thread.current.report_on_exception = false
usa 2017-12-14 15:38:47 +0900 (Thu, 14 Dec 2017) New Revision: 61226 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61226 Log: Thread.current.report_on_exception = false * test/win32ole/test_win32ole.rb: set report_on_exception = false in threads which are expected to be throw some exceptions. Modified files: trunk/test/win32ole/test_win32ole.rb Index: test/win32ole/test_win32ole.rb =================================================================== --- test/win32ole/test_win32ole.rb (revision 61225) +++ test/win32ole/test_win32ole.rb (revision 61226) @@ -181,6 +181,7 @@ if defined?(WIN32OLE) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole.rb#L181 $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) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole.rb#L196 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) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole.rb#L235 $SAFE = 1 svr = "winmgmts:" svr.taint + Thread.current.report_on_exception = false WIN32OLE.connect(svr) } exc = assert_raise(SecurityError) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/