Nikolay Sivov : iphlpapi/tests: Skipping test on access error.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 27 10:27:35 CDT 2014
Module: wine
Branch: master
Commit: 1017a027e7acc41a06cad24946dde4a79f33ac34
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1017a027e7acc41a06cad24946dde4a79f33ac34
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Jun 27 11:11:45 2014 +0400
iphlpapi/tests: Skipping test on access error.
---
dlls/iphlpapi/tests/iphlpapi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 13a21c0..ce68a7b 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -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;
More information about the wine-cvs
mailing list