https://bugs.winehq.org/show_bug.cgi?id=55568
Bug ID: 55568 Summary: kernel32:file - test_GetFileType() fails on 'nul' device on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
kernel32:file - test_GetFileType() fails on 'nul' device on macOS:
file.c:3160: Test failed: expected type char for nul got 1
This failure is systematic and only happens on macOS (see Remi's rbernon-macos-* cloud test machines).
See https://test.winehq.org/data/patterns.html#kernel32:file
Where 1 == FILE_TYPE_DISK 2 == FILE_TYPE_CHAR
So GetFileType() fails to distinguish the nul device from a regular disk device on macOS.
https://bugs.winehq.org/show_bug.cgi?id=55568
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55568
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
--- Comment #1 from François Gouget fgouget@codeweavers.com --- There are 3 additional failures since 2023-09-26:
file.c:3148: Test failed: open C:\users\runner\Temp\tmpe466.tmp failed file.c:3150: Test failed: expected type disk got 0 file.c:3155: Test failed: expected type char for nul got 1 file.c:3180: Test failed: open C:\users\runner\Temp\tmpe466.tmp failed