James Hawkins : netapi32: Fix two failing tests in NT4.
Module: wine Branch: master Commit: fc3019ac990955cbefe3506a5ef3af728e49c096 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc3019ac990955cbefe3506a5e... Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Tue Sep 2 22:54:28 2008 -0500 netapi32: Fix two failing tests in NT4. --- dlls/netapi32/tests/access.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c index f8536a7..3999bdd 100644 --- a/dlls/netapi32/tests/access.c +++ b/dlls/netapi32/tests/access.c @@ -257,7 +257,9 @@ static void run_userhandling_tests(void) ok(ret == NERR_Success, "Deleting the user failed : %d\n", ret); } else - ok(ret == NERR_BadUsername, "Adding user with too long username returned 0x%08x\n", ret); + ok(ret == NERR_BadUsername || + broken(ret == NERR_PasswordTooShort), /* NT4 */ + "Adding user with too long username returned 0x%08x\n", ret); usri.usri1_name = sTestUserName; usri.usri1_password = sTooLongPassword; @@ -293,7 +295,9 @@ static void run_userhandling_tests(void) return; } - ok(ret == NERR_Success, "Adding user failed with error 0x%08x\n", ret); + ok(ret == NERR_Success || + broken(ret == NERR_PasswordTooShort), /* NT4 */ + "Adding user failed with error 0x%08x\n", ret); if(ret != NERR_Success) return;
participants (1)
-
Alexandre Julliard