wbemprox/tests: Mark a test result as broken.

Hans Leidekker hans at codeweavers.com
Tue Jun 18 09:55:33 CDT 2013


---
 dlls/wbemprox/tests/query.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index f09da91..8134e3a 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -583,7 +583,7 @@ static void test_notification_query_async( IWbemServices *services )
     prev_sink_refs = sink_refs;
     hr = IWbemServices_ExecNotificationQueryAsync( services, wql, query, 0, NULL, &sink );
     ok( hr == S_OK || broken(hr == WBEM_E_NOT_FOUND), "got %08x\n", hr );
-    ok( sink_refs > prev_sink_refs, "got %u refs\n", sink_refs );
+    ok( sink_refs > prev_sink_refs || broken(!sink_refs), "got %u refs\n", sink_refs );
 
     hr =  IWbemServices_CancelAsyncCall( services, &sink );
     ok( hr == S_OK || broken(hr == WBEM_E_NOT_FOUND), "got %08x\n", hr );
-- 
1.7.10.4






More information about the wine-patches mailing list