You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0dbc48f
Browse filesBrowse the repository at this point in the historyBrowse files
test: make the filesystem and git suites pass on Windows (#1149)
The first Windows run of the new test-windows legs found no product bugs;
every failure was a Linux assumption in a test. Each assertion now holds
on Windows, and the Linux and macOS checks are as strict as before.
filesystem:
- POSIX mode bits: Windows reports 666, so assert that there and 640/600 elsewhere
- 8.3 temp paths: build expectations with realpathSync.native
- / resolves to the current drive: pick a different drive in the cross-drive check
- ENOTDIR on Windows comes from scandir, not realpath
- /etc/hostname resolves to <drive>:\etc\hostname
git:
- set core.autocrlf=false in test repos so diffs carry LF on every OS
- rmtree clears git's read-only object files before deleting
- the traversal error echoes str(Path(repo_path))
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>
0 commit comments