mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user