aboutsummaryrefslogblamecommitdiff
path: root/devel/ice/files/patch-cpp-test-Ice-info-AllTests.cpp
blob: a361893586eb710c20b8cc5e4adf342bde2da3b2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                                           


                                         





                                                           


                                         




                                                           
--- 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);