Commit b19b9a35 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Alexandre Julliard

ntdll/tests: Skip FileRenameInformationEx tests on older Windows versions.

Test failures were introduced in 67479f8c, and affect Windows 10 1607 and older. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55631Signed-off-by: 's avatarJoel Holdsworth <joel@airwebreathe.org.uk>
parent ef837dbc
......@@ -1546,6 +1546,16 @@ static void test_file_rename_information(FILE_INFORMATION_CLASS class)
io.Status = 0xdeadbeef;
res = pNtSetInformationFile( handle, &io, fri, sizeof(FILE_RENAME_INFORMATION) + fri->FileNameLength, class );
if (class == FileRenameInformationEx && (res == STATUS_NOT_IMPLEMENTED || res == STATUS_INVALID_INFO_CLASS))
{
todo_wine win_skip( "FileRenameInformationEx not supported\n" );
CloseHandle( handle );
HeapFree( GetProcessHeap(), 0, fri );
delete_object( oldpath );
return;
}
todo_wine_if( class == FileRenameInformationEx )
ok( io.Status == STATUS_SUCCESS, "io.Status expected STATUS_SUCCESS, got %lx\n", io.Status );
todo_wine_if( class == FileRenameInformationEx )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment