user32/tests: Removed a unreliable test.

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2017-10-30 18:07:36 +01:00 committed by Alexandre Julliard
parent c296e7de4d
commit ebfd1d3df6

View file

@ -1759,10 +1759,8 @@ static void test_handles( HWND hwnd )
h = SetClipboardData( 0xdeadbeef, hfixed );
ok( h == hfixed, "got %p\n", h );
ok( is_fixed( h ), "expected fixed mem %p\n", h );
#ifndef _WIN64
/* testing if hfixed2 is freed triggers an exception on Win64 */
ok( is_freed( hfixed2 ) || broken( !is_freed( hfixed2 )) /* < Vista */, "expected freed mem %p\n", hfixed2 );
#endif
if (0) /* this test is unreliable / crashes */
ok( is_freed( hfixed2 ), "expected freed mem %p\n", hfixed2 );
r = CloseClipboard();
ok( r, "gle %d\n", GetLastError() );