projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a883b
)
[NTDLL_APITEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 13 Apr 2014 07:14:47 +0000
(07:14 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 13 Apr 2014 07:14:47 +0000
(07:14 +0000)
- Fix test failure on Windows. Based on patch by Víctor Martínez
ROSTESTS-132 #resolve
svn path=/trunk/; revision=62734
rostests/apitests/ntdll/SystemInfo.c
patch
|
blob
|
history
diff --git
a/rostests/apitests/ntdll/SystemInfo.c
b/rostests/apitests/ntdll/SystemInfo.c
index
9a4eb2d
..
f93eee6
100644
(file)
--- a/
rostests/apitests/ntdll/SystemInfo.c
+++ b/
rostests/apitests/ntdll/SystemInfo.c
@@
-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;