revert: socket error precedence coverage (#14472) #19489

Merged
oneandonlydean merged 1 commit from upstream-pr/19489 into main 2026-11-13 12:21:16 +00:00
oneandonlydean commented 2026-11-13 12:14:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-13T12:14:11Z.


What

Reverts #14472 (test only). Its new check at core/libs/tests/GuestSocketStreamOptions.cpp:132 expects an unknown TCP option with size -1 to fail with ENOPROTOOPT. On Windows the size is rejected first (EINVAL), so guest_socket_stream_options aborts on Windows main: socket stream option check failed at line 132, errno 22, seen on two Windows machines' main runs.

No runtime code changes. The coverage can come back with the error precedence made platform neutral.

Tested

Windows main fails guest_socket_stream_options at line 132; the reverted file is the version that passed on Windows before #14472. Windows run on this head to follow.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5295276497 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19489). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-11-13T12:14:11Z. --- ### What Reverts #14472 (test only). Its new check at `core/libs/tests/GuestSocketStreamOptions.cpp:132` expects an unknown TCP option with size -1 to fail with ENOPROTOOPT. On Windows the size is rejected first (EINVAL), so `guest_socket_stream_options` aborts on Windows main: `socket stream option check failed at line 132, errno 22`, seen on two Windows machines' main runs. No runtime code changes. The coverage can come back with the error precedence made platform neutral. ### Tested Windows main fails `guest_socket_stream_options` at line 132; the reverted file is the version that passed on Windows before #14472. Windows run on this head to follow. AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!19489
No description provided.