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
bcab6625
Commit
bcab6625
authored
Dec 11, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix a test failure on latest Windows 10.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ec94d0d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
parser.c
dlls/setupapi/tests/parser.c
+7
-1
No files found.
dlls/setupapi/tests/parser.c
View file @
bcab6625
...
...
@@ -59,7 +59,8 @@ static const char tmpfilename[] = ".\\tmp.inf";
"aaaaaaaaaaaaaaaa" A256
#define A1200 A400 A400 A400
#define A511 A255 A256
#define A4097 "a" A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256
#define A4096 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256
#define A4097 "a" A4096
#define STD_HEADER "[Version]\r\nSignature=\"$CHICAGO$\"\r\n"
...
...
@@ -452,6 +453,11 @@ static void test_key_names(void)
!
strcmp
(
field
,
A1200
),
/* Vista, W2K8 */
"line %u: bad field %s/%s
\n
"
,
i
,
field
,
key_names
[
i
].
fields
[
index
]
);
else
if
(
i
==
52
)
ok
(
!
strcmp
(
field
,
key_names
[
i
].
fields
[
index
]
)
||
!
strcmp
(
field
,
A4096
),
/* Win10 >= 1709 */
"line %u: bad field %s/%s
\n
"
,
i
,
field
,
key_names
[
i
].
fields
[
index
]
);
else
/* don't compare drive letter of paths */
if
(
field
[
0
]
&&
field
[
1
]
==
':'
&&
field
[
2
]
==
'\\'
)
ok
(
!
strcmp
(
field
+
1
,
key_names
[
i
].
fields
[
index
]
+
1
),
...
...
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