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
https://bugs.winehq.org/show_bug.cgi?id=55331
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |fgouget@codeweavers.com Regression SHA1| |cbc1e4423e6d40221734544d081 | |c718cb2a2a778 Keywords| |regression, source, | |testcase
https://bugs.winehq.org/show_bug.cgi?id=55331
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2f57803114cfb5cf8549d938e1e | |15a33d48c71e5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This is fixed:
commit 2f57803114cfb5cf8549d938e1e15a33d48c71e5 Author: François Gouget fgouget@codeweavers.com Date: Tue Jul 25 19:18:06 2023 +0200
ntdll/tests: Fix the NtSetInformationFile() test on Windows 10 <= 1709.
It does not support FileDispositionInformationEx and returns various error codes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55331
https://bugs.winehq.org/show_bug.cgi?id=55331
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.14.