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

ntdll/tests: Skip FileLinkInformationEx 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 b19b9a35
...@@ -2255,6 +2255,16 @@ static void test_file_link_information(FILE_INFORMATION_CLASS class) ...@@ -2255,6 +2255,16 @@ static void test_file_link_information(FILE_INFORMATION_CLASS class)
io.Status = 0xdeadbeef; io.Status = 0xdeadbeef;
res = pNtSetInformationFile( handle, &io, fli, sizeof(FILE_LINK_INFORMATION) + fli->FileNameLength, class ); res = pNtSetInformationFile( handle, &io, fli, sizeof(FILE_LINK_INFORMATION) + fli->FileNameLength, class );
if (class == FileLinkInformationEx && (res == STATUS_NOT_IMPLEMENTED || res == STATUS_INVALID_INFO_CLASS))
{
todo_wine win_skip( "FileLinkInformationEx not supported\n" );
CloseHandle( handle );
HeapFree( GetProcessHeap(), 0, fli );
delete_object( oldpath );
return;
}
todo_wine_if( class == FileLinkInformationEx ) todo_wine_if( class == FileLinkInformationEx )
ok( io.Status == STATUS_SUCCESS, "io.Status expected STATUS_SUCCESS, got %lx\n", io.Status ); ok( io.Status == STATUS_SUCCESS, "io.Status expected STATUS_SUCCESS, got %lx\n", io.Status );
todo_wine_if( class == FileLinkInformationEx ) todo_wine_if( class == FileLinkInformationEx )
......
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