| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/ice37/files/ |
Upload File : |
--- cpp/test/Ice/info/AllTests.cpp.orig 2021-06-21 14:44:58 UTC
+++ cpp/test/Ice/info/AllTests.cpp
@@ -125,13 +125,13 @@ allTests(Test::TestHelper* helper)
test(ipEndpoint);
test(ipEndpoint->type() == Ice::TCPEndpointType || ipEndpoint->type() == Ice::SSLEndpointType ||
ipEndpoint->type() == Ice::WSEndpointType || ipEndpoint->type() == Ice::WSSEndpointType);
- test(ipEndpoint->host == "127.0.0.1");
+ test(ipEndpoint->host == "127.0.0.1" || inFreeBSDJail());
test(ipEndpoint->port > 0);
test(ipEndpoint->timeout == 15000);
Ice::UDPEndpointInfoPtr udpEndpoint = ICE_DYNAMIC_CAST(Ice::UDPEndpointInfo, endpoints[1]->getInfo());
test(udpEndpoint);
- test(udpEndpoint->host == "127.0.0.1");
+ test(udpEndpoint->host == "127.0.0.1" || inFreeBSDJail());
test(udpEndpoint->datagram());
test(udpEndpoint->port > 0);
@@ -214,8 +214,8 @@ allTests(Test::TestHelper* helper)
test(info->remotePort == port);
if(defaultHost == "127.0.0.1")
{
- test(info->remoteAddress == defaultHost);
- test(info->localAddress == defaultHost);
+ test(info->remoteAddress == defaultHost || inFreeBSDJail());
+ test(info->localAddress == defaultHost || inFreeBSDJail());
}
#if !defined(ICE_OS_UWP)
test(info->rcvSize >= 1024);
@@ -275,8 +275,8 @@ allTests(Test::TestHelper* helper)
test(udpinfo->remotePort == port);
if(defaultHost == "127.0.0.1")
{
- test(udpinfo->remoteAddress == defaultHost);
- test(udpinfo->localAddress == defaultHost);
+ test(udpinfo->remoteAddress == defaultHost || inFreeBSDJail());
+ test(udpinfo->localAddress == defaultHost || inFreeBSDJail());
}
#if !defined(ICE_OS_UWP)