https://bugs.winehq.org/show_bug.cgi?id=55550
Bug ID: 55550 Summary: ntdll:path - test_nt_names() gets NAME_INVALID instead of PATH_NOT_FOUND on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ntdll:path - test_nt_names() gets NAME_INVALID instead of PATH_NOT_FOUND on macOS:
path.c:728: Test failed: 24: got c0000034 / c000003a for (null) + L"\??\C:\windows\system32\kernel32.dll\foo" path.c:728: Test failed: 26: got c0000034 / c000003a for (null) + L"\??\C:\windows\system32\Kernel32.Dll\foo" path.c:728: Test failed: 50: got c0000034 / c000003a for L"\??\C:\windows\" + L"system32\kernel32.dll\foo" path.c:728: Test failed: 52: got c0000034 / c000003a for L"\??\C:\windows\" + L"system32\Kernel32.Dll\foo"
See https://test.winehq.org/data/patterns.html#ntdll:path
The failure is systematic and only happens macOS (see Remi's rbernon-macos-* cloud test machines). This happens when a path component is a file instead of a directory.