fix(tests): skip the 1023-byte guest path check on macOS hosts #8284
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8284"
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 mugurc on 2026-10-20T08:34:32Z.
What
guest_path_name_length(#8164) fails on macOS at its check that a guest path of exactly 1023 bytes is not too long. The guest check passes it; the host does not. macOS fails a host path of 1024 bytes or more withENAMETOOLONG, and the host form of a guest path is the root directory followed by the guest path, so a 1023-byte guest path is always longer than that there. In the test the root is the 73-byte build directory, so the host path has 1097 bytes. Part of the macOS series announced on #1 (https://github.com/boykopovar/AnyPS5/issues/1#issuecomment-6124344298).Tested
macOS 26.5.1, Apple M5 Max, Apple clang 21, x86-64 build under Rosetta 2. The libraries do not link on macOS without the rest of the macOS series, so the run is on
main3fd1cc393with the series (ci/macos-series-2on my fork), #8279, the open macOS fixes #7524 and #7937, and three changes from #7332.guest_path_name_lengthaborts without this PR with "a path of exactly 1023 bytes must not be too long (errno 63)" and passes with it.staton macOS: an absolute path of 1023 bytes givesENOENT, one of 1024 bytesENAMETOOLONG.guest_working_directory,guest_path_caseandguest_directorypass.guest_filesystemfails on macOS with and without this PR; it is among the macOS failures #7631 lists, from before #8164.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 ycbuzi on 2026-10-21T06:58:39Z.
Windows run of
381c3b9744merged ontomainec7eacc62d(f24e2dec3a, clean), one of the hosts the description lists as not run. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release,BUILD_TESTING=ON.Built
guest_path_name_length_testswith no errors or warnings;ctest --repeat until-fail:2onguest_path_name_length: passes on both repeats. Not run: Linux.