mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
ntdll/tests: Skip test when we don't have enough rights.
This commit is contained in:
parent
446243b1d9
commit
b65c1d47eb
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue