ports/devel/ice/files/patch-cpp-test-Ice-info-AllTests.cpp
Michael Gmelin 4aff7c172a Update devel/ice, devel/py-ice and devel/php5-ice to 3.6.0
PR:		201143
Differential Revision:	https://reviews.freebsd.org/D2930
Reviewed by:	bapt
Approved by:	bapt
Tested by:	Roger Leigh <rleigh@codelibre.net>
2015-07-13 19:48:31 +00:00

20 lines
867 B
C++

--- cpp.orig/test/Ice/info/AllTests.cpp 2015-01-23 12:42:09.819774063 +0000
+++ cpp/test/Ice/info/AllTests.cpp 2015-01-23 12:42:59.341774435 +0000
@@ -157,7 +157,7 @@
test(info->adapterName.empty());
test(info->localPort > 0);
test(info->remotePort == 12010);
- if(defaultHost == "127.0.0.1")
+ if(defaultHost == "127.0.0.1" && !inFreeBSDJail())
{
test(info->remoteAddress == defaultHost);
test(info->localAddress == defaultHost);
@@ -182,7 +182,7 @@
test(info->adapterName.empty());
test(info->localPort > 0);
test(info->remotePort == 12010);
- if(defaultHost == "127.0.0.1")
+ if(defaultHost == "127.0.0.1" && !inFreeBSDJail())
{
test(info->remoteAddress == defaultHost);
test(info->localAddress == defaultHost);