Alexandre Julliard : ntdll/tests: Use correct access rights in the NtOpenKey test.
Alexandre Julliard
julliard at winehq.org
Mon Feb 15 10:06:13 CST 2010
Module: wine
Branch: master
Commit: 531daa04c2aadb7d2d655efae09c9f182bc482c3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=531daa04c2aadb7d2d655efae09c9f182bc482c3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 15 12:20:18 2010 +0100
ntdll/tests: Use correct access rights in the NtOpenKey test.
---
dlls/ntdll/tests/reg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c
index 48de5a5..8061516 100644
--- a/dlls/ntdll/tests/reg.c
+++ b/dlls/ntdll/tests/reg.c
@@ -350,7 +350,7 @@ static void test_NtOpenKey(void)
InitializeObjectAttributes(&attr, &winetestpath, 0, 0, 0);
/* NULL key */
- status = pNtOpenKey(NULL, 0, &attr);
+ status = pNtOpenKey(NULL, am, &attr);
todo_wine
ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
More information about the wine-cvs
mailing list