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
cead1ded
Commit
cead1ded
authored
Apr 01, 2019
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imagehlp/tests: Add a trailing '\n' to some ok() calls.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b353ad7d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
integrity.c
dlls/imagehlp/tests/integrity.c
+3
-3
No files found.
dlls/imagehlp/tests/integrity.c
View file @
cead1ded
...
...
@@ -363,20 +363,20 @@ static void test_pe_checksum(void)
checksum_orig
=
checksum_new
=
0xdeadbeef
;
ret
=
pCheckSumMappedFile
(
modinfo
.
lpBaseOfDll
,
(
char
*
)
nt_header
-
(
char
*
)
modinfo
.
lpBaseOfDll
,
&
checksum_orig
,
&
checksum_new
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p"
,
ret
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p
\n
"
,
ret
);
ok
((
checksum_orig
==
0
)
||
(
checksum_orig
==
checksum_correct
),
"Expected %x, got %x
\n
"
,
checksum_correct
,
checksum_orig
);
ok
(
checksum_new
!=
0
&&
checksum_new
!=
0xdeadbeef
,
"Got unexpected value %x
\n
"
,
checksum_new
);
checksum_orig
=
checksum_new
=
0xdeadbeef
;
ret
=
pCheckSumMappedFile
(
modinfo
.
lpBaseOfDll
,
sizeof
(
IMAGE_DOS_HEADER
),
&
checksum_orig
,
&
checksum_new
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p"
,
ret
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p
\n
"
,
ret
);
ok
((
checksum_orig
==
0
)
||
(
checksum_orig
==
checksum_correct
),
"Expected %x, got %x
\n
"
,
checksum_correct
,
checksum_orig
);
ok
(
checksum_new
!=
0
&&
checksum_new
!=
0xdeadbeef
,
"Got unexpected value %x
\n
"
,
checksum_new
);
checksum_orig
=
checksum_new
=
0xdeadbeef
;
ret
=
pCheckSumMappedFile
(
modinfo
.
lpBaseOfDll
,
0
,
&
checksum_orig
,
&
checksum_new
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p"
,
ret
);
ok
(
!
ret
||
(
ret
==
nt_header
),
"Expected CheckSumMappedFile to fail, got %p
\n
"
,
ret
);
ok
((
checksum_orig
==
0xdeadbeef
)
||
(
checksum_orig
==
checksum_correct
),
"Expected %x, got %x
\n
"
,
checksum_correct
,
checksum_orig
);
todo_wine
ok
((
checksum_new
==
0xdeadbeef
)
||
(
checksum_new
!=
0
&&
checksum_new
!=
0xdeadbeef
),
"Got unexpected value %x
\n
"
,
checksum_new
);
...
...
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