Commit 53a44733 authored by Jakob Eriksson's avatar Jakob Eriksson Committed by Alexandre Julliard

No need continuing tests if no NetUserGetInfo.

parent e802bcb2
......@@ -77,7 +77,10 @@ void run_usergetinfo_tests(void)
/* Level 0 */
rc=pNetUserGetInfo(NULL, sAdminUserName, 0, (LPBYTE *)&ui0);
ok(rc == NERR_Success, "NetUserGetInfo: rc=%ld\n", rc);
if (rc != NERR_Success) {
trace ("Aborting usergetinfo_tests(). NetUserGetInfo: rc=%ld\n", rc);
return;
}
ok(!lstrcmpW(sAdminUserName, ui0->usri0_name), "This is really user name\n");
pNetApiBufferSize(ui0, &dwSize);
ok(dwSize >= (sizeof(USER_INFO_0) +
......
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