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
1aabfabf
Commit
1aabfabf
authored
Jul 17, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Fix an incorrect version test.
parent
a3ca06be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
version.c
dlls/kernel/tests/version.c
+2
-4
No files found.
dlls/kernel/tests/version.c
View file @
1aabfabf
...
...
@@ -163,7 +163,6 @@ START_TEST(version)
ok
(
ret
,
"VerifyVersionInfoA failed with error %ld
\n
"
,
GetLastError
());
/* shows that build number fits into the hierarchy after major version, but before minor version */
GetVersionEx
((
OSVERSIONINFO
*
)
&
info
);
info
.
dwBuildNumber
++
;
ret
=
pVerifyVersionInfoA
(
&
info
,
VER_MAJORVERSION
|
VER_MINORVERSION
|
VER_SERVICEPACKMAJOR
|
VER_SERVICEPACKMINOR
,
...
...
@@ -179,7 +178,6 @@ START_TEST(version)
GetVersionEx
((
OSVERSIONINFO
*
)
&
info
);
info
.
dwOSVersionInfoSize
=
0
;
ret
=
pVerifyVersionInfoA
(
&
info
,
VER_MAJORVERSION
|
VER_MINORVERSION
|
VER_SERVICEPACKMAJOR
|
VER_SERVICEPACKMINOR
,
pVerSetConditionMask
(
0
,
VER_MINORVERSION
,
VER_GREATER_EQUAL
));
todo_wine
ok
(
!
ret
&&
(
GetLastError
()
==
ERROR_OLD_WIN_VERSION
),
"VerifyVersionInfoA should have failed with ERROR_OLD_WIN_VERSION instead of %ld
\n
"
,
GetLastError
());
pVerSetConditionMask
(
0
,
VER_MAJORVERSION
,
VER_GREATER_EQUAL
));
ok
(
ret
,
"VerifyVersionInfoA failed with error %ld
\n
"
,
GetLastError
());
}
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