mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTDLL_APITEST]
- Fix test failure on Windows. Based on patch by Víctor Martínez ROSTESTS-132 #resolve svn path=/trunk/; revision=62734
This commit is contained in:
parent
87a883ba7d
commit
d3b058d4eb
1 changed files with 1 additions and 2 deletions
|
@ -26,6 +26,7 @@ GetPrivilege()
|
|||
tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
|
||||
|
||||
AdjustTokenPrivileges(hToken, FALSE, &tkp, 0, NULL, 0);
|
||||
CloseHandle(hToken);
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,8 +38,6 @@ Test_TimeAdjustment(void)
|
|||
NTSTATUS Status;
|
||||
ULONG ReturnLength;
|
||||
|
||||
GetPrivilege();
|
||||
|
||||
SetTimeInfo.TimeAdjustment = 0;
|
||||
SetTimeInfo.Enable = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue