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
48e6e584
Commit
48e6e584
authored
Sep 30, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Oct 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a test that fails in win95.
parent
4749ee26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
msi.c
dlls/msi/tests/msi.c
+7
-1
No files found.
dlls/msi/tests/msi.c
View file @
48e6e584
...
...
@@ -435,6 +435,8 @@ static void test_MsiGetFileHash(void)
for
(
i
=
0
;
i
<
sizeof
(
hash_data
)
/
sizeof
(
hash_data
[
0
]);
i
++
)
{
int
ret
;
create_file
(
name
,
hash_data
[
i
].
data
,
hash_data
[
i
].
size
);
memset
(
&
hash
,
0
,
sizeof
(
MSIFILEHASHINFO
));
...
...
@@ -442,7 +444,11 @@ static void test_MsiGetFileHash(void)
r
=
pMsiGetFileHashA
(
name
,
0
,
&
hash
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
!
memcmp
(
&
hash
,
&
hash_data
[
i
].
hash
,
HASHSIZE
),
"Hash incorrect
\n
"
);
ret
=
memcmp
(
&
hash
,
&
hash_data
[
i
].
hash
,
HASHSIZE
);
ok
(
ret
==
0
||
broken
(
ret
!=
0
),
/* win95 */
"Hash incorrect
\n
"
);
DeleteFile
(
name
);
}
...
...
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