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

Alexandre Julliard julliard at winehq.org
Wed Jul 2 06:03:38 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Jul  1 23:22:39 2008 -0500

rpcrt4: Fix a failing test in win2k.

---

 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 490a151..671159d 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -391,7 +391,9 @@ static void test_towers(void)
     ret = TowerConstruct(&mapi_if_id, &ndr_syntax, "ncacn_np", "\\pipe\\test", NULL, &tower);
     ok(ret == RPC_S_OK, "TowerConstruct failed with error %ld\n", ret);
     ret = TowerExplode(tower, NULL, NULL, NULL, NULL, &address);
-    ok(ret == RPC_S_OK, "TowerExplode failed with error %ld\n", ret);
+    ok(ret == RPC_S_OK ||
+       broken(ret != RPC_S_OK), /* win2k, indeterminate */
+       "TowerExplode failed with error %ld\n", ret);
     /* Windows XP SP3 sets address to NULL */
     ok(!address || !strcmp(address, ""), "address was \"%s\" instead of \"\"\n or NULL (XP SP3)", address);
 




More information about the wine-cvs mailing list