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.
https://bugs.winehq.org/show_bug.cgi?id=55550
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55550
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Where 0xc0000034 == STATUS_OBJECT_NAME_NOT_FOUND 0xc000003a == STATUS_OBJECT_PATH_NOT_FOUND
https://bugs.winehq.org/show_bug.cgi?id=55550
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ntdll:path - |ntdll:file & ntdll:path get |test_nt_names() gets |NAME_INVALID instead of |NAME_INVALID instead of |PATH_NOT_FOUND on macOS |PATH_NOT_FOUND on macOS |
--- Comment #2 from François Gouget fgouget@codeweavers.com --- ntdll:file fails on macOS for the same reason:
file.c:421: Test failed: open L"\??\C:\windows\SYSTEM32\cmd.exe\cmd.exe" failed c0000034 file.c:424: Test failed: open L"\??\C:\windows\SYSTEM32\cmd.exe\cmd.exe" failed c0000034
See https://test.winehq.org/data/patterns.html#ntdll:file