user32/tests: Comment out a test that crashes on 64-bit Vista.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-09-14 14:19:33 +09:00
parent e16b9f757b
commit 30179166d2
1 changed files with 7 additions and 5 deletions

View File

@ -1667,11 +1667,13 @@ static void test_handles( HWND hwnd )
todo_wine ok( !h, "got %p\n", h );
GlobalFree( empty_moveable );
ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
h = SetClipboardData( format_id2, ptr );
/* some platforms don't allocate a 0-size block correctly */
todo_wine ok( !h || broken( HeapSize( GetProcessHeap(), 0, ptr ) == 1), "got %p\n", h );
HeapFree( GetProcessHeap(), 0, ptr );
if (0) /* crashes on vista64 */
{
ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
h = SetClipboardData( format_id2, ptr );
ok( !h, "got %p\n", h );
HeapFree( GetProcessHeap(), 0, ptr );
}
h = SetClipboardData( format_id2, empty_fixed );
ok( h == empty_fixed, "got %p\n", h );