ntdll/tests: Use correct access rights in the NtOpenKey test.
This commit is contained in:
parent
95a2f9d951
commit
531daa04c2
|
@ -350,7 +350,7 @@ static void test_NtOpenKey(void)
|
||||||
InitializeObjectAttributes(&attr, &winetestpath, 0, 0, 0);
|
InitializeObjectAttributes(&attr, &winetestpath, 0, 0, 0);
|
||||||
|
|
||||||
/* NULL key */
|
/* NULL key */
|
||||||
status = pNtOpenKey(NULL, 0, &attr);
|
status = pNtOpenKey(NULL, am, &attr);
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
|
ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue