Paul Vriens : rpcrt4/tests: Skip ok check for win9x.

Alexandre Julliard julliard at winehq.org
Thu Aug 28 07:00:34 CDT 2008


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Thu Aug 28 08:23:24 2008 +0200

rpcrt4/tests: Skip ok check for win9x.

---

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

diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c
index 0bf84d5..78a8bff 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -1295,7 +1295,10 @@ server(void)
   iptcp_status = RpcServerUseProtseqEp(iptcp, 20, port, NULL);
   ok(iptcp_status == RPC_S_OK, "RpcServerUseProtseqEp(ncacn_ip_tcp) failed with status %ld\n", iptcp_status);
   np_status = RpcServerUseProtseqEp(np, 0, pipe, NULL);
-  ok(np_status == RPC_S_OK, "RpcServerUseProtseqEp(ncacn_np) failed with status %ld\n", np_status);
+  if (np_status == RPC_S_PROTSEQ_NOT_SUPPORTED)
+    skip("Protocol sequence ncacn_np is not supported\n");
+  else
+    ok(np_status == RPC_S_OK, "RpcServerUseProtseqEp(ncacn_np) failed with status %ld\n", np_status);
 
   pRpcServerRegisterIfEx = (void *)GetProcAddress(GetModuleHandle("rpcrt4.dll"), "RpcServerRegisterIfEx");
   if (pRpcServerRegisterIfEx)




More information about the wine-cvs mailing list