mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
No need continuing tests if no NetUserGetInfo.
This commit is contained in:
parent
e802bcb2e2
commit
53a4473334
1 changed files with 4 additions and 1 deletions
|
@ -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) +
|
||||
|
|
Loading…
Reference in a new issue