Commit da95db8d authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4/tests: Fix a couple of test failures on Windows.

parent a5438963
...@@ -384,7 +384,9 @@ static void test_towers(void) ...@@ -384,7 +384,9 @@ static void test_towers(void)
ok(ret == RPC_S_OK, "TowerConstruct failed with error %ld\n", ret); ok(ret == RPC_S_OK, "TowerConstruct failed with error %ld\n", ret);
ret = TowerExplode(tower, NULL, NULL, NULL, NULL, &address); ret = TowerExplode(tower, NULL, NULL, NULL, NULL, &address);
ok(ret == RPC_S_OK, "TowerExplode failed with error %ld\n", ret); ok(ret == RPC_S_OK, "TowerExplode failed with error %ld\n", ret);
ok(!strcmp(address, "0.0.0.0"), "address was \"%s\" instead of \"0.0.0.0\"\n", address); ok(!strcmp(address, "0.0.0.0") ||
broken(!strcmp(address, "255.255.255.255")),
"address was \"%s\" instead of \"0.0.0.0\"\n", address);
I_RpcFree(address); I_RpcFree(address);
I_RpcFree(tower); I_RpcFree(tower);
...@@ -665,6 +667,7 @@ static void test_I_RpcExceptionFilter(void) ...@@ -665,6 +667,7 @@ static void test_I_RpcExceptionFilter(void)
ok(retval == EXCEPTION_CONTINUE_SEARCH, "I_RpcExceptionFilter(0x%x) should have returned %d instead of %d\n", ok(retval == EXCEPTION_CONTINUE_SEARCH, "I_RpcExceptionFilter(0x%x) should have returned %d instead of %d\n",
exception, EXCEPTION_CONTINUE_SEARCH, retval); exception, EXCEPTION_CONTINUE_SEARCH, retval);
break; break;
case STATUS_GUARD_PAGE_VIOLATION:
case STATUS_IN_PAGE_ERROR: case STATUS_IN_PAGE_ERROR:
case STATUS_HANDLE_NOT_CLOSABLE: case STATUS_HANDLE_NOT_CLOSABLE:
trace("I_RpcExceptionFilter(0x%x) returned %d\n", exception, retval); trace("I_RpcExceptionFilter(0x%x) returned %d\n", exception, retval);
......
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