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:
parent
c296e7de4d
commit
ebfd1d3df6
|
@ -1759,10 +1759,8 @@ static void test_handles( HWND hwnd )
|
||||||
h = SetClipboardData( 0xdeadbeef, hfixed );
|
h = SetClipboardData( 0xdeadbeef, hfixed );
|
||||||
ok( h == hfixed, "got %p\n", h );
|
ok( h == hfixed, "got %p\n", h );
|
||||||
ok( is_fixed( h ), "expected fixed mem %p\n", h );
|
ok( is_fixed( h ), "expected fixed mem %p\n", h );
|
||||||
#ifndef _WIN64
|
if (0) /* this test is unreliable / crashes */
|
||||||
/* testing if hfixed2 is freed triggers an exception on Win64 */
|
ok( is_freed( hfixed2 ), "expected freed mem %p\n", hfixed2 );
|
||||||
ok( is_freed( hfixed2 ) || broken( !is_freed( hfixed2 )) /* < Vista */, "expected freed mem %p\n", hfixed2 );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
r = CloseClipboard();
|
r = CloseClipboard();
|
||||||
ok( r, "gle %d\n", GetLastError() );
|
ok( r, "gle %d\n", GetLastError() );
|
||||||
|
|
Loading…
Reference in New Issue