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
61db3655
Commit
61db3655
authored
Dec 19, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a test failure on Windows 8 and conform to the more recent behavior.
parent
7771552f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
automation.c
dlls/msi/automation.c
+1
-1
automation.c
dlls/msi/tests/automation.c
+3
-1
No files found.
dlls/msi/automation.c
View file @
61db3655
...
...
@@ -1616,7 +1616,7 @@ static HRESULT session_invoke(
static
void
variant_from_registry_value
(
VARIANT
*
pVarResult
,
DWORD
dwType
,
LPBYTE
lpData
,
DWORD
dwSize
)
{
static
const
WCHAR
szREG_BINARY
[]
=
{
'('
,
'R'
,
'E'
,
'G'
,
'_'
,
'B'
,
'I'
,
'N'
,
'A'
,
'R'
,
'Y'
,
')'
,
0
};
static
const
WCHAR
szREG_
[]
=
{
'('
,
'R'
,
'E'
,
'G'
,
'_'
,
'
]
'
,
0
};
static
const
WCHAR
szREG_
[]
=
{
'('
,
'R'
,
'E'
,
'G'
,
'_'
,
'
?'
,
'?'
,
')
'
,
0
};
WCHAR
*
szString
=
(
WCHAR
*
)
lpData
;
LPWSTR
szNewString
=
NULL
;
DWORD
dwNewSize
=
0
;
...
...
dlls/msi/tests/automation.c
View file @
61db3655
...
...
@@ -2006,6 +2006,7 @@ static void test_Installer_RegistryValue(void)
static
const
WCHAR
szFiveHi
[]
=
{
'F'
,
'i'
,
'v'
,
'e'
,
'\n'
,
'H'
,
'i'
,
0
};
static
const
WCHAR
szSix
[]
=
{
'S'
,
'i'
,
'x'
,
0
};
static
const
WCHAR
szREG_
[]
=
{
'('
,
'R'
,
'E'
,
'G'
,
'_'
,
']'
,
0
};
static
const
WCHAR
szREG_2
[]
=
{
'('
,
'R'
,
'E'
,
'G'
,
'_'
,
'?'
,
'?'
,
')'
,
0
};
static
const
WCHAR
szSeven
[]
=
{
'S'
,
'e'
,
'v'
,
'e'
,
'n'
,
0
};
static
const
WCHAR
szEight
[]
=
{
'E'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
szBlank
[]
=
{
0
};
...
...
@@ -2117,7 +2118,8 @@ static void test_Installer_RegistryValue(void)
memset
(
szString
,
0
,
sizeof
(
szString
));
hr
=
Installer_RegistryValueW
(
curr_user
,
szKey
,
szSix
,
szString
);
ok
(
hr
==
S_OK
,
"Installer_RegistryValueW failed, hresult 0x%08x
\n
"
,
hr
);
ok_w2
(
"Registry value
\"
%s
\"
does not match expected
\"
%s
\"\n
"
,
szString
,
szREG_
);
ok
(
!
lstrcmpW
(
szString
,
szREG_2
)
||
broken
(
!
lstrcmpW
(
szString
,
szREG_
)),
"Registry value does not match
\n
"
);
VariantInit
(
&
vararg
);
V_VT
(
&
vararg
)
=
VT_BSTR
;
...
...
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