ntdll/tests: Add a couple of status values seen on Win2K3.
This commit is contained in:
parent
3e88d45f7c
commit
e887b39472
|
@ -373,7 +373,8 @@ static void test_NtCreateKey(void)
|
|||
|
||||
/* All NULL */
|
||||
status = pNtCreateKey(NULL, 0, NULL, 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_INVALID_PARAMETER,
|
||||
"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got: 0x%08x\n", status);
|
||||
|
||||
/* Only the key */
|
||||
status = pNtCreateKey(&key, 0, NULL, 0, 0, 0, 0);
|
||||
|
@ -382,7 +383,8 @@ static void test_NtCreateKey(void)
|
|||
|
||||
/* Only accessmask */
|
||||
status = pNtCreateKey(NULL, am, NULL, 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_INVALID_PARAMETER,
|
||||
"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got: 0x%08x\n", status);
|
||||
|
||||
/* Key and accessmask */
|
||||
status = pNtCreateKey(&key, am, NULL, 0, 0, 0, 0);
|
||||
|
|
Loading…
Reference in New Issue