Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable CanonicalizePath test when GetFinalPathNameByHandleW is unava…
…ilable When GetFinalPathNameByHandleW is unavailable, canonicalizePath falls back to GetShortPathNameW + GetLongPathNameW, but that not always guaranted to work. The documentation notes, for example: > Resilient File System (ReFS) doesn't support short names. If you call > GetShortPathName on a path that doesn't have any short names on-disk, > the call will succeed, but will return the long-name path instead. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getshortpathnamew The Windows image on GitHub Actions no longer seems to support GetShortPathNameW and so the tests have begun to fail.
- Loading branch information