Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fotios Valasiadis
wine
Commits
5dc0b0ef
Commit
5dc0b0ef
authored
1 year ago
by
Elizabeth Figura
Committed by
Alexandre Julliard
1 year ago
Browse files
Options
Downloads
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
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ws2_32/tests/sock.c
+5
-3
5 additions, 3 deletions
dlls/ws2_32/tests/sock.c
with
5 additions
and
3 deletions
dlls/ws2_32/tests/sock.c
+
5
−
3
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 );
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment