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
dcf91485
Commit
dcf91485
authored
Feb 23, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Feb 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Allow broken SpinCount for some Win 8+ systems.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4a00695d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
rtl.c
dlls/ntdll/tests/rtl.c
+4
-3
No files found.
dlls/ntdll/tests/rtl.c
View file @
dcf91485
...
...
@@ -2075,8 +2075,9 @@ static void test_RtlInitializeCriticalSectionEx(void)
"expected DebugInfo != NULL and DebugInfo != ~0, got %p
\n
"
,
cs
.
DebugInfo
);
ok
(
cs
.
LockCount
==
-
1
,
"expected LockCount == -1, got %d
\n
"
,
cs
.
LockCount
);
ok
(
cs
.
RecursionCount
==
0
,
"expected RecursionCount == 0, got %d
\n
"
,
cs
.
RecursionCount
);
ok
(
cs
.
LockSemaphore
==
0
,
"expected LockSemaphore == 0, got %p
\n
"
,
cs
.
LockSemaphore
);
ok
(
cs
.
SpinCount
==
0
,
"expected SpinCount == 0, got %ld
\n
"
,
cs
.
SpinCount
);
ok
(
cs
.
LockSemaphore
==
NULL
,
"expected LockSemaphore == NULL, got %p
\n
"
,
cs
.
LockSemaphore
);
ok
(
cs
.
SpinCount
==
0
||
broken
(
cs
.
SpinCount
!=
0
)
/* >= Win 8 */
,
"expected SpinCount == 0, got %ld
\n
"
,
cs
.
SpinCount
);
RtlDeleteCriticalSection
(
&
cs
);
memset
(
&
cs
,
0x11
,
sizeof
(
cs
));
...
...
@@ -2085,7 +2086,7 @@ static void test_RtlInitializeCriticalSectionEx(void)
ok
(
cs
.
DebugInfo
==
no_debug
,
"expected DebugInfo == ~0, got %p
\n
"
,
cs
.
DebugInfo
);
ok
(
cs
.
LockCount
==
-
1
,
"expected LockCount == -1, got %d
\n
"
,
cs
.
LockCount
);
ok
(
cs
.
RecursionCount
==
0
,
"expected RecursionCount == 0, got %d
\n
"
,
cs
.
RecursionCount
);
ok
(
cs
.
LockSemaphore
==
0
,
"expected LockSemaphore == 0
, got %p
\n
"
,
cs
.
LockSemaphore
);
ok
(
cs
.
LockSemaphore
==
NULL
,
"expected LockSemaphore == NULL
, got %p
\n
"
,
cs
.
LockSemaphore
);
ok
(
cs
.
SpinCount
==
0
||
broken
(
cs
.
SpinCount
!=
0
)
/* >= Win 8 */
,
"expected SpinCount == 0, got %ld
\n
"
,
cs
.
SpinCount
);
RtlDeleteCriticalSection
(
&
cs
);
...
...
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