ruby-changes:39645
From: nobu <ko1@a...>
Date: Sun, 30 Aug 2015 16:15:58 +0900 (JST)
Subject: [ruby-changes:39645] nobu:r51726 (trunk): test_win32ole_event.rb: skip message
nobu 2015-08-30 16:15:52 +0900 (Sun, 30 Aug 2015) New Revision: 51726 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51726 Log: test_win32ole_event.rb: skip message * test/win32ole/test_win32ole_event.rb (exec_notification_query_async): add skip message. Modified files: trunk/test/win32ole/test_win32ole_event.rb Index: test/win32ole/test_win32ole_event.rb =================================================================== --- test/win32ole/test_win32ole_event.rb (revision 51725) +++ test/win32ole/test_win32ole_event.rb (revision 51726) @@ -125,8 +125,9 @@ if defined?(WIN32OLE_EVENT) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_event.rb#L125 def exec_notification_query_async @wmi.ExecNotificationQueryAsync(@sws, @sql) rescue => e - # No administrator privilege? - skip if /OLE error code:80041008 in SWbemServicesEx/ =~ e.message + if /OLE error code:80041008 in SWbemServicesEx/ =~ e.message + skip "No administrator privilege?" + end raise end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/