FileSystemTest.UnicodeDirectoryName fails because directoryName takes off \ but not / from the ends of paths causing a mismatch with the expected result. As PathFindFileName appears to stop at either, we probably should remove either from the end. FileSystemTest.GetFileMetadataSymlink has two issues. * First, creating a symlink appears to be returning the wrong truth value for success because CreateSymbolicLinkW returns zero on failure and non-zero on success (https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createsymboliclinkw). * Second, GetFinalPathNameByHandleW with VOLUME_NAME_NT appears to return a path that FindFirstFileW fails to open (I get paths starting with something like "\Device\HarddiskVolume6\").
Created attachment 390092 [details] Patch
Comment on attachment 390092 [details] Patch Clearing flags on attachment: 390092 Committed r256063: <https://trac.webkit.org/changeset/256063>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59273901>