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
85c52b39
Commit
85c52b39
authored
Feb 04, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix a couple of test failures on older Windows versions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
80898bfe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
info.c
dlls/ntdll/tests/info.c
+4
-2
No files found.
dlls/ntdll/tests/info.c
View file @
85c52b39
...
...
@@ -1740,7 +1740,8 @@ static void test_query_process_image_info(void)
ok
(
info
.
MinorSubsystemVersion
==
nt
->
OptionalHeader
.
MinorSubsystemVersion
,
"wrong minor version %x/%x
\n
"
,
info
.
MinorSubsystemVersion
,
nt
->
OptionalHeader
.
MinorSubsystemVersion
);
ok
(
info
.
MajorOperatingSystemVersion
==
nt
->
OptionalHeader
.
MajorOperatingSystemVersion
,
ok
(
info
.
MajorOperatingSystemVersion
==
nt
->
OptionalHeader
.
MajorOperatingSystemVersion
||
broken
(
!
info
.
MajorOperatingSystemVersion
),
/* <= win8 */
"wrong major OS version %x/%x
\n
"
,
info
.
MajorOperatingSystemVersion
,
nt
->
OptionalHeader
.
MajorOperatingSystemVersion
);
ok
(
info
.
MinorOperatingSystemVersion
==
nt
->
OptionalHeader
.
MinorOperatingSystemVersion
,
...
...
@@ -2752,7 +2753,8 @@ static void test_wow64(void)
}
#endif
ok
(
!
NtCurrentTeb
()
->
GdiBatchCount
,
"GdiBatchCount set to %x
\n
"
,
NtCurrentTeb
()
->
GdiBatchCount
);
ok
(
!
NtCurrentTeb
()
->
WowTebOffset
,
"WowTebOffset set to %x
\n
"
,
NtCurrentTeb
()
->
WowTebOffset
);
ok
(
!
NtCurrentTeb
()
->
WowTebOffset
||
broken
(
NtCurrentTeb
()
->
WowTebOffset
==
1
),
/* vista */
"WowTebOffset set to %x
\n
"
,
NtCurrentTeb
()
->
WowTebOffset
);
}
static
void
test_debug_object
(
void
)
...
...
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