ntdll/tests: Skip test when we don't have enough rights.
This commit is contained in:
parent
446243b1d9
commit
b65c1d47eb
|
@ -245,6 +245,11 @@ static void test_ports_server(void)
|
|||
obj.ObjectName = &port;
|
||||
|
||||
status = pNtCreatePort(&PortHandle, &obj, 100, 100, 0);
|
||||
if (status == STATUS_ACCESS_DENIED)
|
||||
{
|
||||
skip("Not enough rights\n");
|
||||
return;
|
||||
}
|
||||
todo_wine
|
||||
{
|
||||
ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %d\n", status);
|
||||
|
|
Loading…
Reference in New Issue