[PATCH 3/3] Fix a test failure on Win7
Paul Vriens
Paul.Vriens.Wine at gmail.com
Fri Nov 20 03:12:17 CST 2009
---
dlls/netapi32/tests/access.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c
index 7886b36..2f29684 100644
--- a/dlls/netapi32/tests/access.c
+++ b/dlls/netapi32/tests/access.c
@@ -155,7 +155,10 @@ static void run_usergetinfo_tests(void)
todo_wine {
/* FIXME - Currently Wine can't verify whether the network path is good or bad */
rc=pNetUserGetInfo(sBadNetPath, sTestUserName, 0, (LPBYTE *)&ui0);
- ok(rc == ERROR_BAD_NETPATH || rc == ERROR_NETWORK_UNREACHABLE || rc == RPC_S_SERVER_UNAVAILABLE,
+ ok(rc == ERROR_BAD_NETPATH ||
+ rc == ERROR_NETWORK_UNREACHABLE ||
+ rc == RPC_S_SERVER_UNAVAILABLE ||
+ rc == RPC_S_INVALID_NET_ADDR, /* Some Win7 */
"Bad Network Path: rc=%d\n",rc);
}
rc=pNetUserGetInfo(sEmptyStr, sTestUserName, 0, (LPBYTE *)&ui0);
--
1.6.2.5
--------------090608010607080402070902--
More information about the wine-patches
mailing list