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
1297ccb3
Commit
1297ccb3
authored
Mar 02, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix erroneous ok parameters.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e06b668f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
exception.c
dlls/ntdll/tests/exception.c
+3
-3
wow64.c
dlls/ntdll/tests/wow64.c
+1
-1
No files found.
dlls/ntdll/tests/exception.c
View file @
1297ccb3
...
...
@@ -4095,7 +4095,7 @@ static void test_thread_context(void)
expect
.
SegFs
,
expect
.
SegGs
,
expect
.
SegSs
,
expect
.
EFlags
,
expect
.
prev_frame
);
trace
(
"actual: rax=%p rbx=%p rcx=%p rdx=%p rsi=%p rdi=%p "
"r8=%p r9=%p r10=%p r11=%p r12=%p r13=%p r14=%p r15=%p "
"rbp=%p rsp=%p rip=%p cs=%04x ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
prev=%08x
\n
"
,
"rbp=%p rsp=%p rip=%p cs=%04x ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
\n
"
,
(
void
*
)
context
.
Rax
,
(
void
*
)
context
.
Rbx
,
(
void
*
)
context
.
Rcx
,
(
void
*
)
context
.
Rdx
,
(
void
*
)
context
.
Rsi
,
(
void
*
)
context
.
Rdi
,
(
void
*
)
context
.
R8
,
(
void
*
)
context
.
R9
,
(
void
*
)
context
.
R10
,
(
void
*
)
context
.
R11
,
(
void
*
)
context
.
R12
,
(
void
*
)
context
.
R13
,
...
...
@@ -4155,7 +4155,7 @@ static void test_thread_context(void)
expect
.
SegFs
,
expect
.
SegGs
,
expect
.
SegSs
,
expect
.
EFlags
,
expect
.
prev_frame
);
trace
(
"actual: rax=%p rbx=%p rcx=%p rdx=%p rsi=%p rdi=%p "
"r8=%p r9=%p r10=%p r11=%p r12=%p r13=%p r14=%p r15=%p "
"rbp=%p rsp=%p rip=%p cs=%04x ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
prev=%08x
\n
"
,
"rbp=%p rsp=%p rip=%p cs=%04x ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
\n
"
,
(
void
*
)
context
.
Rax
,
(
void
*
)
context
.
Rbx
,
(
void
*
)
context
.
Rcx
,
(
void
*
)
context
.
Rdx
,
(
void
*
)
context
.
Rsi
,
(
void
*
)
context
.
Rdi
,
(
void
*
)
context
.
R8
,
(
void
*
)
context
.
R9
,
(
void
*
)
context
.
R10
,
(
void
*
)
context
.
R11
,
(
void
*
)
context
.
R12
,
(
void
*
)
context
.
R13
,
...
...
@@ -4293,7 +4293,7 @@ static void test_wow64_context(void)
ok
((
WORD
)
ctx_ptr
->
FloatSave
.
ControlWord
==
ctx
.
FloatSave
.
ControlWord
,
"got control word %08x / %08x
\n
"
,
ctx_ptr
->
FloatSave
.
ControlWord
,
ctx
.
FloatSave
.
ControlWord
);
ok
(
*
(
WORD
*
)
ctx_ptr
->
ExtendedRegisters
==
*
(
WORD
*
)
ctx
.
ExtendedRegisters
,
"got SSE control word %04x
\n
"
,
*
(
WORD
*
)
ctx_ptr
->
ExtendedRegisters
,
"got SSE control word %04x
/ %04x
\n
"
,
*
(
WORD
*
)
ctx_ptr
->
ExtendedRegisters
,
*
(
WORD
*
)
ctx
.
ExtendedRegisters
);
ecx
=
ctx
.
Ecx
;
...
...
dlls/ntdll/tests/wow64.c
View file @
1297ccb3
...
...
@@ -604,7 +604,7 @@ static void test_cpu_area(void)
ok
(
info
.
ContextFlagsLocation
==
(
char
*
)
info
.
Context
+
tests
[
i
].
offset
,
"%u:%u: wrong flags offset %u
\n
"
,
i
,
j
,
(
ULONG
)((
char
*
)
info
.
ContextFlagsLocation
-
(
char
*
)
info
.
Context
)
);
ok
(
info
.
CpuReserved
==
cpu
,
"%u:%u: wrong cpu %p / %p
\n
"
,
info
.
CpuReserved
,
cpu
);
ok
(
info
.
CpuReserved
==
cpu
,
"%u:%u: wrong cpu %p / %p
\n
"
,
i
,
j
,
i
nfo
.
CpuReserved
,
cpu
);
ok
(
info
.
ContextFlag
==
tests
[
i
].
flag
,
"%u:%u: wrong flag %08x
\n
"
,
i
,
j
,
info
.
ContextFlag
);
ok
(
info
.
Machine
==
tests
[
i
].
machine
,
"%u:%u: wrong machine %x
\n
"
,
i
,
j
,
info
.
Machine
);
}
...
...
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