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
d5b77f5a
Commit
d5b77f5a
authored
May 24, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Avoid size_t in traces.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1943fb29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
misc.c
dlls/setupapi/tests/misc.c
+2
-2
No files found.
dlls/setupapi/tests/misc.c
View file @
d5b77f5a
...
...
@@ -265,14 +265,14 @@ static void test_SetupCopyOEMInf(void)
ok
(
file_exists
(
path
),
"Expected source inf to exist
\n
"
);
ok
(
file_exists
(
orig_dest
),
"Expected dest inf to exist
\n
"
);
ok
(
!
strcmp
(
dest
,
"aaa"
),
"Expected dest to be unchanged
\n
"
);
ok
(
size
==
strlen
(
orig_dest
)
+
1
,
"
Expected size %d, got %d.
\n
"
,
strlen
(
orig_dest
)
+
1
,
size
);
ok
(
size
==
strlen
(
orig_dest
)
+
1
,
"
Got %d.
\n
"
,
size
);
SetLastError
(
0xdeadbeef
);
res
=
SetupCopyOEMInfA
(
path
,
NULL
,
SPOST_NONE
,
0
,
dest
,
sizeof
(
dest
),
&
size
,
NULL
);
ok
(
res
==
TRUE
,
"Expected TRUE, got %d
\n
"
,
res
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
GetLastError
());
ok
(
!
strcmp
(
orig_dest
,
dest
),
"Expected '%s', got '%s'.
\n
"
,
orig_dest
,
dest
);
ok
(
size
==
strlen
(
dest
)
+
1
,
"
Expected size %d, got %d.
\n
"
,
strlen
(
dest
)
+
1
,
size
);
ok
(
size
==
strlen
(
dest
)
+
1
,
"
Got %d.
\n
"
,
size
);
test_original_file_name
(
strrchr
(
path
,
'\\'
)
+
1
,
dest
);
...
...
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