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
5dc0b0ef
Commit
5dc0b0ef
authored
Jul 22, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Update test_write_watch() for Windows 11.
Wine-Bug:
https://bugs.winehq.org//show_bug.cgi?id=54546
parent
9a43d51e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
sock.c
dlls/ws2_32/tests/sock.c
+5
-3
No files found.
dlls/ws2_32/tests/sock.c
View file @
5dc0b0ef
...
...
@@ -7700,6 +7700,8 @@ static void test_write_watch(void)
return
;
}
/* Windows 11 no longer triggers write watches anymore. */
tcp_socketpair
(
&
src
,
&
dest
);
memset
(
&
ov
,
0
,
sizeof
(
ov
));
...
...
@@ -7730,7 +7732,7 @@ static void test_write_watch(void)
count
=
64
;
ret
=
pGetWriteWatch
(
WRITE_WATCH_FLAG_RESET
,
base
,
size
,
results
,
&
count
,
&
pagesize
);
ok
(
!
ret
,
"GetWriteWatch failed %lu
\n
"
,
GetLastError
()
);
ok
(
count
==
9
,
"wrong count %Iu
\n
"
,
count
);
ok
(
count
==
9
||
!
count
/* Win 11 */
,
"wrong count %Iu
\n
"
,
count
);
ok
(
!
base
[
0
],
"data set
\n
"
);
send
(
src
,
"test message"
,
sizeof
(
"test message"
),
0
);
...
...
@@ -7761,7 +7763,7 @@ static void test_write_watch(void)
count
=
64
;
ret
=
pGetWriteWatch
(
WRITE_WATCH_FLAG_RESET
,
base
,
size
,
results
,
&
count
,
&
pagesize
);
ok
(
!
ret
,
"GetWriteWatch failed %lu
\n
"
,
GetLastError
()
);
ok
(
count
==
5
,
"wrong count %Iu
\n
"
,
count
);
ok
(
count
==
5
||
!
count
/* Win 11 */
,
"wrong count %Iu
\n
"
,
count
);
ok
(
!
base
[
0
],
"data set
\n
"
);
send
(
src
,
"test message"
,
sizeof
(
"test message"
),
0
);
...
...
@@ -7795,7 +7797,7 @@ static void test_write_watch(void)
count
=
64
;
ret
=
pGetWriteWatch
(
WRITE_WATCH_FLAG_RESET
,
base
,
size
,
results
,
&
count
,
&
pagesize
);
ok
(
!
ret
,
"GetWriteWatch failed %lu
\n
"
,
GetLastError
()
);
ok
(
count
==
8
,
"wrong count %Iu
\n
"
,
count
);
ok
(
count
==
8
||
!
count
/* Win 11 */
,
"wrong count %Iu
\n
"
,
count
);
send
(
src
,
"test message"
,
sizeof
(
"test message"
),
0
);
WaitForSingleObject
(
thread
,
10000
);
...
...
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