rpcrt4/tests: Skip ok check for win9x.
authorPaul Vriens <paul.vriens.wine@gmail.com>
Thu, 28 Aug 2008 06:23:24 +0000 (08:23 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 28 Aug 2008 09:24:49 +0000 (11:24 +0200)
dlls/rpcrt4/tests/server.c

index 0bf84d5..78a8bff 100644 (file)
@@ -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)