summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-test-Ice-info-AllTests.cpp
blob: 437d4659f564d92ffa29b3ef3ffd1e780b2543ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cpp/test/Ice/info/AllTests.cpp.orig	2019-08-12 19:54:18 UTC
+++ cpp/test/Ice/info/AllTests.cpp
@@ -170,7 +170,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
         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);
@@ -234,7 +234,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
         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);