Five tests that only the Linux CI runs fail on Windows:
- test_report_paths: the darwin patch kept Windows' os.path.normcase,
which lowercases; use posixpath.normcase there too.
- test_audio_wav, test_audio_stage_resume: cmd.exe decodes the fake
ffmpeg.cmd with the OEM code page, not UTF-8; write non-ASCII paths as
their 8.3 short names, the file in the OEM code page.
- test_make_game_submodule, tools/spirv_metal_set0.py: text=True decodes
UTF-8 child output with the ANSI code page and the reader thread dies;
errors="replace".
- test_spirv_metal_set0_cli_errors: read the Python child's stderr in the
locale encoding it writes, not UTF-8.
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use Git's list of repository-local environment variables to keep inherited
hook settings out of temporary repositories. Add a linked-worktree test
that inherits a parent repository's Git directory, worktree and index.