https://bugs.winehq.org/show_bug.cgi?id=55331
Bug ID: 55331 Summary: ntdll:file - The 64-bit test_file_disposition_information() gets unsupported error on Windows 10 1607 and 1709 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ntdll:file - The 64-bit test_file_disposition_information() gets unsupported error on Windows 10 1607 and 1709:
file.c:3141: Test failed: unexpected FileDispositionInformationEx result (expected STATUS_SUCCESS or SSTATUS_INVALID_INFO_CLASS, got c00000bb)
See https://test.winehq.org/data/patterns.html#ntdll:file
Where c00000bb == STATUS_NOT_SUPPORTED c0000003 == STATUS_INVALID_INFO_CLASS
This is a case where early Windows 10 versions don't fully support FileDispositionInformationEx(). Further tests show that: * On Windows 10 1507 we get STATUS_INVALID_INFO_CLASS as expected by the test. * On Windows 10 1607 the 32-bit case gets STATUS_INVALID_INFO_CLASS too but the 64-bit one gets STATUS_NOT_SUPPORTED. * On Windows 10 1709 gets STATUS_NOT_SUPPORTED in both 32 and 64-bit. * And Windows 10 1809 gets STATUS_SUCCESS in both cases.
The failures started on 2023-06-27 and a quick test confirms they are caused by the commit that added the test:
commit cbc1e4423e6d40221734544d081c718cb2a2a778 Author: Joel Holdsworth joel@airwebreathe.org.uk AuthorDate: Mon May 1 15:27:57 2023 +0100
ntdll/tests: Add tests for FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE.
Signed-off-by: Joel Holdsworth joel@airwebreathe.org.uk