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
61abc0a5
Commit
61abc0a5
authored
Oct 09, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix some test failures on Win98.
parent
856be7c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
misc.c
dlls/setupapi/tests/misc.c
+5
-2
No files found.
dlls/setupapi/tests/misc.c
View file @
61abc0a5
...
...
@@ -197,7 +197,9 @@ static void test_SetupCopyOEMInf(void)
/* try a relative SourceInfFileName */
SetLastError
(
0xdeadbeef
);
res
=
pSetupCopyOEMInfA
(
tmpfile
,
NULL
,
0
,
SP_COPY_NOOVERWRITE
,
NULL
,
0
,
NULL
,
NULL
);
ok
(
res
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
res
);
ok
(
res
==
FALSE
||
broken
(
res
==
TRUE
),
/* Win98 */
"Expected FALSE, got %d
\n
"
,
res
);
if
(
GetLastError
()
==
ERROR_WRONG_INF_TYPE
||
GetLastError
()
==
ERROR_UNSUPPORTED_TYPE
/* Win7 */
)
{
/* FIXME:
...
...
@@ -209,7 +211,8 @@ static void test_SetupCopyOEMInf(void)
return
;
}
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* Win98 */
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
GetLastError
());
ok
(
file_exists
(
tmpfile
),
"Expected tmpfile to exist
\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