Detlef Riekenberg : advapi32/tests: Fix a failure on 64bit NT 5.x.
Alexandre Julliard
julliard at winehq.org
Mon Nov 12 14:14:41 CST 2012
Module: wine
Branch: master
Commit: aaad900d1edaba58d6073e5082530e42958a2201
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aaad900d1edaba58d6073e5082530e42958a2201
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Mon Nov 12 05:50:13 2012 +0100
advapi32/tests: Fix a failure on 64bit NT 5.x.
---
dlls/advapi32/tests/security.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index ba0750b..f5fc4e2 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -4294,7 +4294,7 @@ static void test_TokenIntegrityLevel(void)
res = GetTokenInformation(token, TokenIntegrityLevel, buffer, sizeof(buffer), &size);
/* 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");
CloseHandle(token);
More information about the wine-cvs
mailing list