ppkarwasz commented on PR #781:
URL: https://github.com/apache/commons-io/pull/781#issuecomment-3280464485

   > All macOS tests fail in GH CI.
   
   Yes, look at this comment: 
https://github.com/apache/commons-io/pull/781#discussion_r2337909930
   
   Basically I am testing that the limit in **UTF-8 bytes** is sharp on macOS 
and you can not create files with names longer than `NAME_MAX`. Beyond that 
limit, calling POSIX methods like `open()`, `readdir()` is not safe any more, 
but apparently macOS handles those as long as the underlying filesystem 
supports them. Now:
   
   - HFS+ supports up to 255 UTF-16 code units and this is probably the reason 
all macOS tests fail.
   - APFS supports only 255 UTF-8 bytes, so the test should succeed on a macOS 
that uses APFS. Could you check on your hardware?
   
   If I can confirm that the APFS limit is strict, I can disable the test on 
macOS or remove it entirely.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to