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
100c043e
Commit
100c043e
authored
Sep 23, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix a test failure on Ultimate editions.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
parent
29967d63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
msi.c
dlls/msi/tests/msi.c
+3
-4
No files found.
dlls/msi/tests/msi.c
View file @
100c043e
...
...
@@ -4229,12 +4229,11 @@ static void test_MsiGetFileVersion(void)
ok
(
versz
==
verchecksz
,
"Expected %d, got %d
\n
"
,
verchecksz
,
versz
);
/* pcchLangBuf not big enough */
langsz
=
3
;
langsz
=
4
;
lstrcpyA
(
lang
,
"lang"
);
r
=
MsiGetFileVersionA
(
path
,
NULL
,
NULL
,
lang
,
&
langsz
);
ok
(
r
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
r
);
ok
(
!
strncmp
(
lang
,
langcheck
,
2
),
"Expected first character of
\"
%s
\"
, got
\"
%s
\"\n
"
,
langcheck
,
lang
);
ok
(
lstrcmpA
(
lang
,
"lang"
),
"lang not set
\n
"
);
ok
(
langsz
>=
langchecksz
,
"Expected %d >= %d
\n
"
,
langsz
,
langchecksz
);
/* pcchVersionBuf big enough, pcchLangBuf not big enough */
...
...
@@ -4255,7 +4254,7 @@ static void test_MsiGetFileVersion(void)
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
versz
==
verchecksz
,
"Expected %d, got %d
\n
"
,
verchecksz
,
versz
);
ok
(
langsz
>=
langchecksz
&&
langsz
<
MAX_PATH
,
"Expected %d >= %d
\n
"
,
langsz
,
langchecksz
);
ok
(
lstrcmpA
(
lang
,
"lang"
),
"lang buffer not modified
\n
"
);
ok
(
strstr
(
lang
,
langcheck
)
!=
NULL
,
"expected %s in %s
\n
"
,
langcheck
,
lang
);
/* NULL pcchVersionBuf and pcchLangBuf */
r
=
MsiGetFileVersionA
(
path
,
version
,
NULL
,
lang
,
NULL
);
...
...
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