fix(tests): register readlink_remounts only on Linux #28905
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/28905"
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 oneandonlydean on 2026-12-04T14:57:21Z.
Main's Windows job has been red at check_skips since #23786 (main Build 47336085636 on
9e683f51c2).#23786 added
guest_kernel_sys_paths_readlink_remountsand its_patchedtwin. The case needs Linux mount namespaces, so on Windows it always printsSKIP: mount namespaces are Linux only, andtools/check_skips.py --job windowsrejects that reason. Our Windows main run (laptop) shows both tests as skipped.This registers the case, and its
SKIP_RETURN_CODE 77, only whenCMAKE_SYSTEM_NAMEis Linux. On Linux both tests are still registered with the same skip code (checked withctest -Nafter a fresh configure). The other kernel sys-path cases are unchanged.Summary by CodeRabbit
readlink_remountssystem-path test now runs only on Linux, where the required mount namespace support is available. Other test cases retain their existing skip behavior.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-04T16:00:38Z.
Review: APPROVED
Reviewed — looks good
The Linux-only registration matches the test’s mount-namespace dependency, and both test variants retain the skip return code on Linux.
What I ran
Reviewed head
9309b8484042b27c8077312cffb9884ba8b6ec59using the pinned reader and prepared diff. No configure, build, or tests were run.Results
Negative control
Not run; no tests were run.
Findings
Blocking
None.
Non-blocking
None.
Sources
Not verified
No platform-specific configure or
ctest -Nwas run. The prepared bundle says those checks were performed by the author; they were not independently verified.core/libs/CMakeLists.txtwas reviewed at the changed hunk and surrounding lines;core/libs/tests/GuestKernelSysPaths.cppwas reviewed at the relevant test implementation. The manifest lists onlycore/libs/CMakeLists.txtas changed and reviewed; no files were excluded.To get this to a good state
Nothing is required.