Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c55f0881
Commit
c55f0881
authored
Sep 11, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix two failures on win98.
parent
9fab7b45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
misc.c
dlls/setupapi/tests/misc.c
+6
-4
No files found.
dlls/setupapi/tests/misc.c
View file @
c55f0881
...
...
@@ -166,8 +166,9 @@ static void test_SetupCopyOEMInf(void)
SetLastError
(
0xdeadbeef
);
res
=
pSetupCopyOEMInfA
(
""
,
NULL
,
0
,
SP_COPY_NOOVERWRITE
,
NULL
,
0
,
NULL
,
NULL
);
ok
(
res
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
res
);
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
||
GetLastError
()
==
ERROR_BAD_PATHNAME
,
/* Win98 */
"Expected ERROR_FILE_NOT_FOUND or ERROR_BAD_PATHNAME, got %d
\n
"
,
GetLastError
());
/* try a relative nonexistent SourceInfFileName */
SetLastError
(
0xdeadbeef
);
...
...
@@ -191,8 +192,9 @@ static void test_SetupCopyOEMInf(void)
SetLastError
(
0xdeadbeef
);
res
=
pSetupCopyOEMInfA
(
toolong
,
NULL
,
0
,
SP_COPY_NOOVERWRITE
,
NULL
,
0
,
NULL
,
NULL
);
ok
(
res
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
res
);
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
||
GetLastError
()
==
ERROR_FILENAME_EXCED_RANGE
,
/* Win98 */
"Expected ERROR_FILE_NOT_FOUND or ERROR_FILENAME_EXCED_RANGE, got %d
\n
"
,
GetLastError
());
get_temp_filename
(
tmpfile
);
create_inf_file
(
tmpfile
);
...
...
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