advapi32/tests: Fix a failure on 64bit NT 5.x.
This commit is contained in:
parent
c27d20902a
commit
aaad900d1e
|
@ -4294,7 +4294,7 @@ static void test_TokenIntegrityLevel(void)
|
||||||
res = GetTokenInformation(token, TokenIntegrityLevel, buffer, sizeof(buffer), &size);
|
res = GetTokenInformation(token, TokenIntegrityLevel, buffer, sizeof(buffer), &size);
|
||||||
|
|
||||||
/* not supported before Vista */
|
/* not supported before Vista */
|
||||||
if (!res && (GetLastError() == ERROR_INVALID_PARAMETER))
|
if (!res && ((GetLastError() == ERROR_INVALID_PARAMETER) || GetLastError() == ERROR_INVALID_FUNCTION))
|
||||||
{
|
{
|
||||||
win_skip("TokenIntegrityLevel not supported\n");
|
win_skip("TokenIntegrityLevel not supported\n");
|
||||||
CloseHandle(token);
|
CloseHandle(token);
|
||||||
|
|
Loading…
Reference in New Issue