[PATCH] netapi32/tests: Fix an access test failure on XP

Detlef Riekenberg wine.dev at web.de
Tue Nov 13 16:50:14 CST 2012


The workstation service might not running

http://test.winehq.org/data/b5d96da32f955357b7d9341ee9fca68108078dce/xp_s2-sp2-nosnd/netapi32:access.html

--
By by ... Detlef
---
 dlls/netapi32/tests/access.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c
index 9726c8d..a8c43c3 100644
--- a/dlls/netapi32/tests/access.c
+++ b/dlls/netapi32/tests/access.c
@@ -160,6 +160,7 @@ static void run_usergetinfo_tests(void)
         ok(rc == ERROR_BAD_NETPATH ||
            rc == ERROR_NETWORK_UNREACHABLE ||
            rc == RPC_S_SERVER_UNAVAILABLE ||
+           rc == NERR_WkstaNotStarted || /* workstation service not running */
            rc == RPC_S_INVALID_NET_ADDR, /* Some Win7 */
            "Bad Network Path: rc=%d\n",rc);
     }
-- 
1.7.5.4




More information about the wine-patches mailing list