Hans Leidekker : wbemprox/tests: Mark a test result as broken.

Alexandre Julliard julliard at winehq.org
Tue Jun 18 14:42:10 CDT 2013


Module: wine
Branch: master
Commit: cd51d513c4c171f8fe755878cde6fbdbad4dfcd7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cd51d513c4c171f8fe755878cde6fbdbad4dfcd7

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Jun 18 16:55:33 2013 +0200

wbemprox/tests: Mark a test result as broken.

---

 dlls/wbemprox/tests/query.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 );




More information about the wine-cvs mailing list