Commit 53f4e434 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

iphlapi: Fix a failing test in win95.

parent 5468f40a
...@@ -432,7 +432,8 @@ static void testGetTcpTable(void) ...@@ -432,7 +432,8 @@ static void testGetTcpTable(void)
"GetTcpTable(NULL, NULL, FALSE) returned %d, expected ERROR_INVALID_PARAMETER\n", "GetTcpTable(NULL, NULL, FALSE) returned %d, expected ERROR_INVALID_PARAMETER\n",
apiReturn); apiReturn);
apiReturn = gGetTcpTable(NULL, &dwSize, FALSE); apiReturn = gGetTcpTable(NULL, &dwSize, FALSE);
ok(apiReturn == ERROR_INSUFFICIENT_BUFFER, ok(apiReturn == ERROR_INSUFFICIENT_BUFFER ||
broken(apiReturn == ERROR_NO_DATA), /* win95 */
"GetTcpTable(NULL, &dwSize, FALSE) returned %d, expected ERROR_INSUFFICIENT_BUFFER\n", "GetTcpTable(NULL, &dwSize, FALSE) returned %d, expected ERROR_INSUFFICIENT_BUFFER\n",
apiReturn); apiReturn);
if (apiReturn == ERROR_INSUFFICIENT_BUFFER) { if (apiReturn == ERROR_INSUFFICIENT_BUFFER) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment