Skip to content
Snippets Groups Projects
Commit cc50de11 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

ntdll/tests: Add optional return value for some win7 machines.

parent f90d5a8f
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,8 @@ static void test_NtCreateKey(void)
/* Only attributes */
status = pNtCreateKey(NULL, 0, &attr, 0, 0, 0, 0);
ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
ok(status == STATUS_ACCESS_VIOLATION || status == STATUS_ACCESS_DENIED /* Win7 */,
"Expected STATUS_ACCESS_VIOLATION or STATUS_ACCESS_DENIED, got: 0x%08x\n", status);
/* Length > sizeof(OBJECT_ATTRIBUTES) */
attr.Length *= 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment