forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
32 lines
2.3 KiB
C++
32 lines
2.3 KiB
C++
--- cpp.orig/test/Ice/metrics/AllTests.cpp 2013-03-11 15:19:47.000000000 +0000
|
|
+++ cpp/test/Ice/metrics/AllTests.cpp 2013-05-20 02:11:00.939194168 +0000
|
|
@@ -597,9 +597,12 @@
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "incoming", "false");
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "adapterName", "");
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "connectionId", "Con1");
|
|
- testAttribute(clientMetrics, clientProps, update, "Connection", "localHost", "127.0.0.1");
|
|
+ if (!inFreeBSDJail())
|
|
+ {
|
|
+ testAttribute(clientMetrics, clientProps, update, "Connection", "localHost", "127.0.0.1");
|
|
+ testAttribute(clientMetrics, clientProps, update, "Connection", "remoteHost", "127.0.0.1");
|
|
+ }
|
|
//testAttribute(clientMetrics, clientProps, update, "Connection", "localPort", "");
|
|
- testAttribute(clientMetrics, clientProps, update, "Connection", "remoteHost", "127.0.0.1");
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "remotePort", "12010");
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "mcastHost", "");
|
|
testAttribute(clientMetrics, clientProps, update, "Connection", "mcastPort", "");
|
|
@@ -814,9 +817,12 @@
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "incoming", "true", op);
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "adapterName", "TestAdapter", op);
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "connectionId", "", op);
|
|
- testAttribute(serverMetrics, serverProps, update, "Dispatch", "localHost", "127.0.0.1", op);
|
|
+ if (!inFreeBSDJail())
|
|
+ {
|
|
+ testAttribute(serverMetrics, serverProps, update, "Dispatch", "localHost", "127.0.0.1", op);
|
|
+ testAttribute(serverMetrics, serverProps, update, "Dispatch", "remoteHost", "127.0.0.1", op);
|
|
+ }
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "localPort", "12010", op);
|
|
- testAttribute(serverMetrics, serverProps, update, "Dispatch", "remoteHost", "127.0.0.1", op);
|
|
//testAttribute(serverMetrics, serverProps, update, "Dispatch", "remotePort", "12010", op);
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "mcastHost", "", op);
|
|
testAttribute(serverMetrics, serverProps, update, "Dispatch", "mcastPort", "", op);
|