netapi32/tests: Fix a test failure on Win7.

This commit is contained in:
Paul Vriens 2009-11-20 10:12:17 +01:00 committed by Alexandre Julliard
parent f9a931070d
commit 0b8ae46836
1 changed files with 4 additions and 1 deletions

View File

@ -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);