iphlpapi/tests: Skipping test on access error.

oldstable
Nikolay Sivov 2014-06-27 11:11:45 +04:00 committed by Alexandre Julliard
parent d50350886a
commit 1017a027e7
1 changed files with 5 additions and 0 deletions

View File

@ -858,6 +858,11 @@ static void testSetTcpEntry(void)
}
ret = pSetTcpEntry(&row);
if (ret == ERROR_NETWORK_ACCESS_DENIED)
{
win_skip("SetTcpEntry failed with access error. Skipping test.\n");
return;
}
todo_wine ok( ret == ERROR_INVALID_PARAMETER, "got %u, expected %u\n", ret, ERROR_INVALID_PARAMETER);
U(row).dwState = MIB_TCP_STATE_DELETE_TCB;