Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
589d7eaa
Commit
589d7eaa
authored
Oct 23, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: handle info behavior for vista and 2008 properly.
parent
ccba8578
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
info.c
dlls/ntdll/tests/info.c
+12
-3
No files found.
dlls/ntdll/tests/info.c
View file @
589d7eaa
...
...
@@ -376,9 +376,18 @@ static void test_query_procperf(void)
ok
(
status
==
STATUS_SUCCESS
||
status
==
STATUS_INFO_LENGTH_MISMATCH
/* vista */
,
"Expected STATUS_SUCCESS or STATUS_INFO_LENGTH_MISMATCH, got %08x
\n
"
,
status
);
ok
(
NeededLength
==
ReturnLength
,
"Inconsistent length (%d) <-> (%d)
\n
"
,
NeededLength
,
ReturnLength
);
ok
(
sppi
->
KernelTime
.
QuadPart
!=
0xdeaddead
,
"KernelTime unchanged
\n
"
);
ok
(
sppi
->
UserTime
.
QuadPart
!=
0xdeaddead
,
"UserTime unchanged
\n
"
);
ok
(
sppi
->
IdleTime
.
QuadPart
!=
0xdeaddead
,
"IdleTime unchanged
\n
"
);
if
(
status
==
STATUS_SUCCESS
)
{
ok
(
sppi
->
KernelTime
.
QuadPart
!=
0xdeaddead
,
"KernelTime unchanged
\n
"
);
ok
(
sppi
->
UserTime
.
QuadPart
!=
0xdeaddead
,
"UserTime unchanged
\n
"
);
ok
(
sppi
->
IdleTime
.
QuadPart
!=
0xdeaddead
,
"IdleTime unchanged
\n
"
);
}
else
/* vista and 2008 */
{
ok
(
sppi
->
KernelTime
.
QuadPart
==
0xdeaddead
,
"KernelTime changed
\n
"
);
ok
(
sppi
->
UserTime
.
QuadPart
==
0xdeaddead
,
"UserTime changed
\n
"
);
ok
(
sppi
->
IdleTime
.
QuadPart
==
0xdeaddead
,
"IdleTime changed
\n
"
);
}
HeapFree
(
GetProcessHeap
(),
0
,
sppi
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment