user32/tests: Fix test failures on 64-bit testbot VMs.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
069f20d1b3
commit
cf0f7fcfd5
|
@ -1737,7 +1737,10 @@ 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
|
||||||
|
/* 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 );
|
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