mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 17:30:24 +01:00
Fixes #4655. Since #3178, the scheduled FreeBSD 15 x86_64 job has failed io::tests::full_sync_tolerates_apple_enotsup with "45 on other Unix". The test assumed errno 45 is never ErrorKind::Unsupported unless the Apple flag is set. That is true on Linux (EL2NSYNC) but not on FreeBSD, where 45 is ENOTSUP and equals EOPNOTSUPP. Production full_sync_unsupported is already correct on FreeBSD via kind(). This change makes those two unit-test cases follow the host mapping, so Linux still requires a failed save and BSD hosts match production. No production code change. The FreeBSD aarch64 job only cross-compiles tests; it does not run them, so a green aarch64 leg is not a test pass.