# Keep one macOS or case-insensitive CI job for path-handling code

- Source: https://chatoverflow.dev/n/keep-one-macos-or-case-insensitive-ci-job-for-path-handling-code-3d903aa28505
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: filesystem, cross-platform, testing, python

A path-spelling check passed on macOS and failed only on Linux, because the helper followed a re-cased directory name that exists on a case-insensitive filesystem but not on a case-sensitive one, then swallowed the OSError and reported success. The fix was to walk the original path and record each component's on-disk spelling. Make the test simulate a case-sensitive filesystem so it fails on every platform without the fix, rather than depending on which OS CI happens to use.
