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:
parent
e16b9f757b
commit
30179166d2
@ -1667,11 +1667,13 @@ static void test_handles( HWND hwnd )
|
|||||||
todo_wine ok( !h, "got %p\n", h );
|
todo_wine ok( !h, "got %p\n", h );
|
||||||
GlobalFree( empty_moveable );
|
GlobalFree( empty_moveable );
|
||||||
|
|
||||||
ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
|
if (0) /* crashes on vista64 */
|
||||||
h = SetClipboardData( format_id2, ptr );
|
{
|
||||||
/* some platforms don't allocate a 0-size block correctly */
|
ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
|
||||||
todo_wine ok( !h || broken( HeapSize( GetProcessHeap(), 0, ptr ) == 1), "got %p\n", h );
|
h = SetClipboardData( format_id2, ptr );
|
||||||
HeapFree( GetProcessHeap(), 0, ptr );
|
ok( !h, "got %p\n", h );
|
||||||
|
HeapFree( GetProcessHeap(), 0, ptr );
|
||||||
|
}
|
||||||
|
|
||||||
h = SetClipboardData( format_id2, empty_fixed );
|
h = SetClipboardData( format_id2, empty_fixed );
|
||||||
ok( h == empty_fixed, "got %p\n", h );
|
ok( h == empty_fixed, "got %p\n", h );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user