mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
- Add support for clang PR: 165702 Submitted by: Michael Gmelin <freebsd@grem.de> (maintainer) Feature safe: yes
31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
--- cpp.orig/test/Ice/info/AllTests.cpp 2011-06-15 21:43:59.000000000 +0200
|
|
+++ cpp/test/Ice/info/AllTests.cpp 2012-03-04 20:14:53.000000000 +0100
|
|
@@ -141,9 +141,11 @@
|
|
test(info->adapterName.empty());
|
|
test(info->localPort > 0);
|
|
test(info->remotePort == 12010);
|
|
- test(info->remoteAddress == defaultHost);
|
|
- test(info->localAddress == defaultHost);
|
|
-
|
|
+ if (!inFreeBSDJail())
|
|
+ {
|
|
+ test(info->remoteAddress == defaultHost);
|
|
+ test(info->localAddress == defaultHost);
|
|
+ }
|
|
ostringstream os;
|
|
|
|
Ice::Context ctx = testIntf->getConnectionInfoAsContext();
|
|
@@ -163,8 +165,11 @@
|
|
test(info->adapterName.empty());
|
|
test(info->localPort > 0);
|
|
test(info->remotePort == 12010);
|
|
- test(info->remoteAddress ==defaultHost);
|
|
- test(info->localAddress == defaultHost);
|
|
+ if (!inFreeBSDJail())
|
|
+ {
|
|
+ test(info->remoteAddress == defaultHost);
|
|
+ test(info->localAddress == defaultHost);
|
|
+ }
|
|
}
|
|
cout << "ok" << endl;
|
|
|