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
d25854ad
Commit
d25854ad
authored
Sep 29, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix fiber test errors on newer Win10.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
26ad403c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fiber.c
dlls/kernel32/tests/fiber.c
+3
-4
No files found.
dlls/kernel32/tests/fiber.c
View file @
d25854ad
...
...
@@ -217,13 +217,12 @@ static void test_FiberLocalStorage(void)
SetLastError
(
0xdeadbeef
);
ret
=
pFlsSetValue
(
128
,
(
void
*
)
0x217
);
ok
(
!
ret
,
"setting fls index 128 (out of bounds) succeeded
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
ok
(
ret
||
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"setting fls index 128 (out of bounds) wrong error %u
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
val
=
pFlsGetValue
(
128
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
val
==
(
void
*
)
0x217
,
"getting fls index 128 (out of bounds) wrong error %u
\n
"
,
GetLastError
()
);
/* Test index 0 */
...
...
@@ -276,7 +275,7 @@ static void test_FiberLocalStorage(void)
SetLastError
(
0xdeadbeef
);
val
=
pFlsGetValue
(
fls_2
);
ok
(
val
==
NULL
,
"fls index %u wrong value %p
\n
"
,
fls
,
val
);
ok
(
val
==
NULL
||
val
==
(
void
*
)
0xdeadbabe
,
"fls index %u wrong value %p
\n
"
,
fls
,
val
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"getting fls index %u failed with error %u
\n
"
,
fls_2
,
GetLastError
()
);
pFlsFree
(
fls_2
);
...
...
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