mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
netapi32/tests: Don't crash if the administrators group is missing.
This commit is contained in:
parent
7bc4c60782
commit
bc8a2b1fb9
1 changed files with 3 additions and 1 deletions
|
@ -332,7 +332,9 @@ static void run_localgroupgetinfo_tests(void)
|
|||
int i;
|
||||
|
||||
status = pNetLocalGroupGetInfo(NULL, admins, 1, (LPBYTE *)&lgi);
|
||||
ok(status == NERR_Success, "NetLocalGroupGetInfo unexpectedly returned %d\n", status);
|
||||
ok(status == NERR_Success || broken(status == NERR_GroupNotFound),
|
||||
"NetLocalGroupGetInfo unexpectedly returned %d\n", status);
|
||||
if (status != NERR_Success) return;
|
||||
|
||||
trace("Local groupname:%s\n", wine_dbgstr_w( lgi->lgrpi1_name));
|
||||
trace("Comment: %s\n", wine_dbgstr_w( lgi->lgrpi1_comment));
|
||||
|
|
Loading…
Reference in a new issue