[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:
Thomas Faber 2014-04-13 07:14:47 +00:00
parent 87a883ba7d
commit d3b058d4eb

View file

@ -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;