kernel32/tests: Mark Win8 behaviour as broken
André Hentschel
nerv at dawncrow.de
Mon Dec 16 08:32:52 CST 2013
---
dlls/kernel32/tests/alloc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/alloc.c b/dlls/kernel32/tests/alloc.c
index 86a31e7..6d73bad 100644
--- a/dlls/kernel32/tests/alloc.c
+++ b/dlls/kernel32/tests/alloc.c
@@ -318,7 +318,8 @@ static void test_Local(void)
ok(!error,"LocalReAlloc should have zeroed out it's allocated memory\n");
/* Check that LocalHandle works */
mem2b=LocalHandle(mem2ptr);
- ok(mem2b==mem2a,"LocalHandle didn't return the correct memory handle\n");
+ ok(mem2b==mem2a || broken(mem2b!=mem2a /* Win8 */),
+ "LocalHandle didn't return the correct memory handle\n");
/* Check that we can't discard locked memory */
mem2b=LocalDiscard(mem2a);
ok(mem2b==NULL,"Discarded memory we shouldn't have\n");
--
1.8.1.2
More information about the wine-patches
mailing list