rpcrt4/tests: Don't crash on WinXP SP3.
This commit is contained in:
parent
ea4489cfb0
commit
e2539cb9e5
|
@ -388,7 +388,8 @@ 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, ""), "address was \"%s\" instead of \"\"\n", address);
|
/* Windows XP SP3 sets address to NULL */
|
||||||
|
ok(!address || !strcmp(address, ""), "address was \"%s\" instead of \"\"\n or NULL (XP SP3)", address);
|
||||||
|
|
||||||
I_RpcFree(address);
|
I_RpcFree(address);
|
||||||
I_RpcFree(tower);
|
I_RpcFree(tower);
|
||||||
|
|
Loading…
Reference in New Issue