ntdll/tests: Fix test failure on newer WOW64 platforms
André Hentschel
nerv at dawncrow.de
Sat Feb 13 08:51:33 CST 2010
---
dlls/ntdll/tests/reg.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c
index a4802c8..64148dd 100644
--- a/dlls/ntdll/tests/reg.c
+++ b/dlls/ntdll/tests/reg.c
@@ -352,7 +352,9 @@ static void test_NtOpenKey(void)
/* NULL key */
status = pNtOpenKey(NULL, 0, &attr);
todo_wine
- ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
+ ok(status == STATUS_ACCESS_VIOLATION ||
+ broken(status == STATUS_ACCESS_DENIED), /* W2K8+ WOW64 */
+ "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
/* Length > sizeof(OBJECT_ATTRIBUTES) */
attr.Length *= 2;
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list