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
97505798
Commit
97505798
authored
Apr 24, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix a test failure on Win98.
parent
6d1d5b65
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
misc.c
dlls/setupapi/tests/misc.c
+4
-1
No files found.
dlls/setupapi/tests/misc.c
View file @
97505798
...
...
@@ -144,7 +144,7 @@ static void test_SetupCopyOEMInf(void)
CHAR
toolong
[
MAX_PATH
*
2
];
CHAR
path
[
MAX_PATH
],
dest
[
MAX_PATH
];
CHAR
tmpfile
[
MAX_PATH
],
dest_save
[
MAX_PATH
];
LPSTR
inf
;
LPSTR
inf
=
NULL
;
DWORD
size
;
BOOL
res
;
...
...
@@ -293,6 +293,9 @@ static void test_SetupCopyOEMInf(void)
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
GetLastError
());
ok
(
lstrlen
(
dest
)
+
1
==
size
,
"Expected sizes to match, got (%d, %d)
\n
"
,
lstrlen
(
dest
),
size
);
ok
(
file_exists
(
dest
),
"Expected destination inf to exist
\n
"
);
ok
((
inf
&&
inf
[
0
]
!=
0
)
||
broken
(
!
inf
),
/* Win98 */
"Expected inf to point to the filename
\n
"
);
ok
(
check_format
(
dest
,
inf
),
"Expected %%windir%%
\\
inf
\\
OEMx.inf, got %s
\n
"
,
dest
);
ok
(
file_exists
(
path
),
"Expected source inf to exist
\n
"
);
ok
(
size
==
lstrlen
(
dest_save
)
+
1
,
"Expected size to be lstrlen(dest_save) + 1
\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