James Hawkins : rpcrt4: Fix a failing test in Vista.

Alexandre Julliard julliard at winehq.org
Wed Sep 3 07:43:50 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Sep  2 22:41:36 2008 -0500

rpcrt4: Fix a failing test in Vista.

---

 dlls/rpcrt4/tests/rpc.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c
index bcd6a65..9f2684e 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -328,7 +328,9 @@ static void test_towers(void)
     BOOL same;
 
     ret = TowerConstruct(&mapi_if_id, &ndr_syntax, "ncacn_ip_tcp", "135", "10.0.0.1", &tower);
-    ok(ret == RPC_S_OK, "TowerConstruct failed with error %ld\n", ret);
+    ok(ret == RPC_S_OK ||
+       broken(ret == RPC_S_INVALID_RPC_PROTSEQ), /* Vista */
+       "TowerConstruct failed with error %ld\n", ret);
     if (ret == RPC_S_INVALID_RPC_PROTSEQ)
     {
         /* Windows Vista fails with this error and crashes if we continue */




More information about the wine-cvs mailing list