Alistair Leslie-Hughes : netapi32: Correct test for NetUserChangePassword.
Alexandre Julliard
julliard at winehq.org
Fri Mar 7 05:30:13 CST 2008
Module: wine
Branch: master
Commit: 4b89de772a996193fd8fd9df24832c7b02166cea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b89de772a996193fd8fd9df24832c7b02166cea
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Fri Mar 7 20:42:51 2008 +1100
netapi32: Correct test for NetUserChangePassword.
---
dlls/netapi32/tests/access.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c
index 202c259..7d5f55a 100644
--- a/dlls/netapi32/tests/access.c
+++ b/dlls/netapi32/tests/access.c
@@ -296,7 +296,7 @@ static void run_userhandling_tests(void)
ret = pNetUserChangePassword(NULL, sNonexistentUser, sTestUserOldPass,
sTestUserNewPass);
- ok(ret == NERR_UserNotFound,
+ ok(ret == NERR_UserNotFound || ret == ERROR_INVALID_PASSWORD,
"Changing password for nonexistent user returned 0x%08x.\n", ret);
ret = pNetUserChangePassword(NULL, sTestUserName, sTestUserOldPass,
More information about the wine-cvs
mailing list