Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
177d6d7f
Commit
177d6d7f
authored
Nov 18, 2019
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Nov 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix timeout on win10 1809+.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
07562f1e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
devinst.c
dlls/setupapi/tests/devinst.c
+15
-15
No files found.
dlls/setupapi/tests/devinst.c
View file @
177d6d7f
...
...
@@ -2066,12 +2066,6 @@ static void test_get_actual_section(void)
ok
(
size
==
9
,
"Got size %u.
\n
"
,
size
);
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section1"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section1"
),
"Got unexpected section %s.
\n
"
,
section
);
ok
(
!
extptr
||
!*
extptr
/* Windows 10 1809 */
,
"Got extension %s.
\n
"
,
extptr
);
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section2"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section2.NT"
),
"Got unexpected section %s.
\n
"
,
section
);
...
...
@@ -2102,6 +2096,21 @@ static void test_get_actual_section(void)
ok
(
extptr
==
section
+
8
,
"Got extension %s.
\n
"
,
extptr
);
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section9"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section9.NT"
MYEXT
),
"Got unexpected section %s.
\n
"
,
section
);
ok
(
extptr
==
section
+
8
,
"Got extension %s.
\n
"
,
extptr
);
if
(
0
)
{
/* For some reason, these calls hang on Windows 10 1809+. */
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section1"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section1"
),
"Got unexpected section %s.
\n
"
,
section
);
ok
(
!
extptr
||
!*
extptr
/* Windows 10 1809 */
,
"Got extension %s.
\n
"
,
extptr
);
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section7"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section7"
),
"Got unexpected section %s.
\n
"
,
section
);
...
...
@@ -2120,15 +2129,6 @@ static void test_get_actual_section(void)
ok
(
!
extptr
||
!*
extptr
/* Windows 10 1809 */
,
"Got extension %s.
\n
"
,
extptr
);
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section9"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section9.NT"
MYEXT
),
"Got unexpected section %s.
\n
"
,
section
);
ok
(
extptr
==
section
+
8
,
"Got extension %s.
\n
"
,
extptr
);
if
(
0
)
{
/* For some reason, this call hangs on Windows 10 1809. */
extptr
=
section
;
ret
=
SetupDiGetActualSectionToInstallA
(
hinf
,
"section10"
,
section
,
ARRAY_SIZE
(
section
),
NULL
,
&
extptr
);
ok
(
ret
,
"Failed to get section, error %#x.
\n
"
,
GetLastError
());
ok
(
!
strcasecmp
(
section
,
"section10"
),
"Got unexpected section %s.
\n
"
,
section
);
...
...
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