test(net): accept variable stdio readiness #23167
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23167"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by DonRyuzaki on 2026-11-18T19:46:35Z.
What
Current main can select redirected standard streams backed by host pipes.
guest_sce_netassumed stdin is never readable and stdout/stderr are always writable; those readiness states can vary under CI redirection. Check that select returns only requested bits and that its count matches the ready bits, while retaining exact readiness checks for controlled files and pipes inguest_select.This is a test-only follow-up to merged #19824. It also addresses the unrelated Windows test failure currently seen on #16632; it does not change FreeType behavior.
Tested
6286d364496d41fcff8b032742ba0ace2972b6a1; branch headb73dd77bda1680a0d88db26da4fbe29359ed6929. Onlycore/libs/tests/GuestSceNet.cppchanges.BUILD_TESTING=ON: builtguest_sce_net_testson current main with the exact proposed test file overlaid;ctest --test-dir build --no-tests=error --output-on-failure -R '^guest_sce_net$'passed 1/1. The temporary overlay was removed and the other PR worktree restored clean.git diff --check upstream/main HEADpassed.python3 tools/check_conventions.py --base upstream/mainpassed on this head. The required--base origin/maininvocation also ran, but the fork’sorigin/mainis stale and included unrelated upstream findings.tools/pr_overlap.py --branchcould not start becauseghis unavailable. Manual comparison found open #22573, #5836, #16826, #21705 and #22992 touch separateGuestSceNet.cpphunks; none changes the stdio assertion.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-18T19:55:24Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
b73dd77bda:tools/check_conventions.pypassed.guest_sce_net_testsbuilt cleanly.guest_sce_net,guest_net_inet_pton_source_faults):Looks Good To Me