Sebastian Lackner : user32/tests: Fix test failures on 64-bit testbot VMs.

Alexandre Julliard julliard at winehq.org
Tue Oct 11 15:21:11 CDT 2016


Module: wine
Branch: master
Commit: cf0f7fcfd53d57cd5aa5fed09dd14890144a034c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cf0f7fcfd53d57cd5aa5fed09dd14890144a034c

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Tue Oct 11 18:11:19 2016 +0200

user32/tests: Fix test failures on 64-bit testbot VMs.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/clipboard.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/user32/tests/clipboard.c b/dlls/user32/tests/clipboard.c
index 69bdba8..17fc028 100644
--- a/dlls/user32/tests/clipboard.c
+++ b/dlls/user32/tests/clipboard.c
@@ -1737,7 +1737,10 @@ 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
 
     r = CloseClipboard();
     ok( r, "gle %d\n", GetLastError() );




More information about the wine-cvs mailing list