Commit fc3019ac authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

netapi32: Fix two failing tests in NT4.

parent d6bb1d9a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment