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
9e166a96
Commit
9e166a96
authored
Oct 06, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix some test failures on 64-bit.
parent
3cd55cc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
install.c
dlls/msi/tests/install.c
+30
-6
No files found.
dlls/msi/tests/install.c
View file @
9e166a96
...
@@ -10160,8 +10160,16 @@ static void test_remove_registry_values(void)
...
@@ -10160,8 +10160,16 @@ static void test_remove_registry_values(void)
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
RegCloseKey
(
key
);
RegCloseKey
(
key
);
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
access
,
&
key
);
if
(
is_64bit
&&
!
wow64
)
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wow6432Node
\\
Wine
\\
key2"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
else
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
res
=
RegCreateKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
NULL
,
0
,
access
,
NULL
,
&
key
,
NULL
);
res
=
RegCreateKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
NULL
,
0
,
access
,
NULL
,
&
key
,
NULL
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
...
@@ -10170,8 +10178,16 @@ static void test_remove_registry_values(void)
...
@@ -10170,8 +10178,16 @@ static void test_remove_registry_values(void)
r
=
MsiInstallProductA
(
msifile
,
"REMOVE=ALL"
);
r
=
MsiInstallProductA
(
msifile
,
"REMOVE=ALL"
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key1"
,
0
,
access
,
&
key
);
if
(
is_64bit
&&
!
wow64
)
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wow6432Node
\\
Wine
\\
key1"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
else
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key1"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
access
,
&
key
);
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
0
,
access
,
&
key
);
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
...
@@ -10181,8 +10197,16 @@ static void test_remove_registry_values(void)
...
@@ -10181,8 +10197,16 @@ static void test_remove_registry_values(void)
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
ok
(
res
==
ERROR_SUCCESS
,
"key removed
\n
"
);
RegCloseKey
(
key
);
RegCloseKey
(
key
);
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
keyB"
,
0
,
access
,
&
key
);
if
(
is_64bit
&&
!
wow64
)
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wow6432Node
\\
Wine
\\
keyB"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
else
{
res
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
keyB"
,
0
,
KEY_ALL_ACCESS
,
&
key
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"key not removed
\n
"
);
}
delete_key
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
keyA"
,
access
);
delete_key
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
keyA"
,
access
);
delete_key
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
access
);
delete_key
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
key2"
,
access
);
...
...
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