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
c0e89107
Commit
c0e89107
authored
Jul 01, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Fix a test that is failing in multiple platforms.
parent
d5158cc3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
query.c
dlls/setupapi/tests/query.c
+5
-1
No files found.
dlls/setupapi/tests/query.c
View file @
c0e89107
...
@@ -149,7 +149,11 @@ static void test_SetupGetInfInformation(void)
...
@@ -149,7 +149,11 @@ static void test_SetupGetInfInformation(void)
SetLastError
(
0xbeefcafe
);
SetLastError
(
0xbeefcafe
);
ret
=
SetupGetInfInformationA
(
NULL
,
INFINFO_INF_SPEC_IS_HINF
,
NULL
,
0
,
&
size
);
ret
=
SetupGetInfInformationA
(
NULL
,
INFINFO_INF_SPEC_IS_HINF
,
NULL
,
0
,
&
size
);
ok
(
ret
==
FALSE
,
"Expected SetupGetInfInformation to fail
\n
"
);
ok
(
ret
==
FALSE
,
"Expected SetupGetInfInformation to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
||
broken
(
GetLastError
()
==
ERROR_BAD_PATHNAME
)
||
/* win95 */
broken
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
||
/* win98 */
broken
(
GetLastError
()
==
ERROR_PATH_NOT_FOUND
)
||
/* NT4 */
broken
(
GetLastError
()
==
ERROR_INVALID_NAME
),
/* win2k */
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
"Expected ERROR_INVALID_HANDLE, got %d
\n
"
,
GetLastError
());
ok
(
size
==
0xdeadbeef
,
"Expected size to remain unchanged
\n
"
);
ok
(
size
==
0xdeadbeef
,
"Expected size to remain unchanged
\n
"
);
...
...
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