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
541695ae
Commit
541695ae
authored
Jul 26, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix the spelling of some exception ok() messages.
parent
0b275e5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
exception.c
dlls/ntdll/tests/exception.c
+8
-8
No files found.
dlls/ntdll/tests/exception.c
View file @
541695ae
...
...
@@ -9628,7 +9628,7 @@ static void wait_for_thread_next_suspend(HANDLE thread)
DWORD
result
;
result
=
ResumeThread
(
thread
);
ok
(
result
==
1
,
"Got unexpe
x
ted suspend count %lu.
\n
"
,
result
);
ok
(
result
==
1
,
"Got unexpe
c
ted suspend count %lu.
\n
"
,
result
);
/* NtQueryInformationThread(ThreadSuspendCount, ...) is not supported on older Windows. */
while
(
!
(
result
=
SuspendThread
(
thread
)))
...
...
@@ -9636,9 +9636,9 @@ static void wait_for_thread_next_suspend(HANDLE thread)
ResumeThread
(
thread
);
Sleep
(
1
);
}
ok
(
result
==
1
,
"Got unexpe
x
ted suspend count %lu.
\n
"
,
result
);
ok
(
result
==
1
,
"Got unexpe
c
ted suspend count %lu.
\n
"
,
result
);
result
=
ResumeThread
(
thread
);
ok
(
result
==
2
,
"Got unexpe
x
ted suspend count %lu.
\n
"
,
result
);
ok
(
result
==
2
,
"Got unexpe
c
ted suspend count %lu.
\n
"
,
result
);
}
#define CONTEXT_NATIVE (CONTEXT_XSTATE & CONTEXT_CONTROL)
...
...
@@ -9808,7 +9808,7 @@ static void test_extended_context(void)
bret
=
pInitializeContext
(
context_buffer
,
flags
,
&
context
,
&
length2
);
ok
(
bret
&&
GetLastError
()
==
0xdeadbeef
,
"Got unexpected bret %#x, GetLastError() %lu, flags %#lx.
\n
"
,
bret
,
GetLastError
(),
flags
);
ok
(
length2
==
expected_length
,
"Got unexpe
x
ted length %#lx.
\n
"
,
length
);
ok
(
length2
==
expected_length
,
"Got unexpe
c
ted length %#lx.
\n
"
,
length
);
ok
((
BYTE
*
)
context
==
context_buffer
,
"Got unexpected context %p, flags %#lx.
\n
"
,
context
,
flags
);
context_flags
=
*
(
DWORD
*
)(
context_buffer
+
context_arch
[
test
].
flags_offset
);
...
...
@@ -9938,7 +9938,7 @@ static void test_extended_context(void)
bret
=
pInitializeContext
(
context_buffer2
+
2
,
flags
,
&
context
,
&
length2
);
ok
(
bret
&&
GetLastError
()
==
0xdeadbeef
,
"Got unexpected bret %#x, GetLastError() %lu, flags %#lx.
\n
"
,
bret
,
GetLastError
(),
flags
);
ok
(
length2
==
expected_length
,
"Got unexpe
x
ted length %#lx.
\n
"
,
length
);
ok
(
length2
==
expected_length
,
"Got unexpe
c
ted length %#lx.
\n
"
,
length
);
ok
(
!
memcmp
(
context_buffer2
+
align
,
context_buffer
,
sizeof
(
context_buffer2
)
-
align
),
"Context data do not match, flags %#lx.
\n
"
,
flags
);
...
...
@@ -9984,7 +9984,7 @@ static void test_extended_context(void)
bret
=
pInitializeContext2
(
context_buffer2
+
2
,
flags
,
&
context
,
&
length2
,
0
);
ok
(
bret
&&
GetLastError
()
==
0xdeadbeef
,
"Got unexpected bret %#x, GetLastError() %lu, flags %#lx.
\n
"
,
bret
,
GetLastError
(),
flags
);
ok
(
length2
==
expected_length
,
"Got unexpe
x
ted length %#lx.
\n
"
,
length
);
ok
(
length2
==
expected_length
,
"Got unexpe
c
ted length %#lx.
\n
"
,
length
);
ok
(
!
memcmp
(
context_buffer2
+
align
,
context_buffer
,
sizeof
(
context_buffer2
)
-
align
),
"Context data do not match, flags %#lx.
\n
"
,
flags
);
...
...
@@ -10095,7 +10095,7 @@ static void test_extended_context(void)
bret
=
pInitializeContext
(
context_buffer
,
flags
,
&
context
,
&
length2
);
ok
(
bret
&&
GetLastError
()
==
0xdeadbeef
,
"Got unexpected bret %#x, GetLastError() %lu, flags %#lx.
\n
"
,
bret
,
GetLastError
(),
flags
);
ok
(
length2
==
length
,
"Got unexpe
x
ted length %#lx.
\n
"
,
length
);
ok
(
length2
==
length
,
"Got unexpe
c
ted length %#lx.
\n
"
,
length
);
ok
((
BYTE
*
)
context
==
context_buffer
,
"Got unexpected context %p.
\n
"
,
context
);
context_flags
=
*
(
DWORD
*
)(
context_buffer
+
context_arch
[
test
].
flags_offset
);
...
...
@@ -10233,7 +10233,7 @@ static void test_extended_context(void)
bret
=
pInitializeContext2
(
context_buffer
,
flags
,
&
context
,
&
length2
,
0
);
ok
(
bret
&&
GetLastError
()
==
0xdeadbeef
,
"Got unexpected bret %#x, GetLastError() %lu, flags %#lx.
\n
"
,
bret
,
GetLastError
(),
flags
);
ok
(
length2
==
length
,
"Got unexpe
x
ted length %#lx.
\n
"
,
length
);
ok
(
length2
==
length
,
"Got unexpe
c
ted length %#lx.
\n
"
,
length
);
ok
((
BYTE
*
)
context
==
context_buffer
,
"Got unexpected context %p.
\n
"
,
context
);
length2
=
0xdeadbeef
;
...
...
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