ports/devel/ice/files/patch-cpp-test-Glacier2-ssl-Server.cpp
Ruslan Makhmatkhanov 58e60f6909 - update to 3.5.0
- add license (GPLv2)
- switch to bdb 5
- mark broken on 10.x for the time being (as it was discussed on ports@ ML)
- remove patches, applied upstream

This version of Ice brings many new features, e.g.
- New encoding version
- Metrics facility
- Optional data members and parameters
- Compact encoding for classes and exceptions
- Compact type IDs
- Preserved slices
- Custom enumerator values
- C++11 lambda functions
- Remote Update of Server Properties
- IPv6 now enabled by default
- Python 3 support
- Use Berkley DB 5

See http://doc.zeroc.com/display/Ice/Release+Notes for details.

PR:		179233
Submitted by:	Michael Gmelin <freebsd@grem.de> (maintainer)
Tested by:  Jaret Bartsch <jaretbartsch@yahoo.ca>
2013-06-17 11:42:41 +00:00

34 lines
990 B
C++

--- cpp.orig/test/Glacier2/ssl/Server.cpp 2011-06-15 21:43:59.000000000 +0200
+++ cpp/test/Glacier2/ssl/Server.cpp 2012-03-04 20:14:53.000000000 +0100
@@ -31,9 +31,15 @@
test(ctx["_con.type"] == "ssl");
test(ctx["_con.localPort"] == "12348");
}
- test(ctx["_con.localAddress"] == "127.0.0.1");
+ if (!inFreeBSDJail())
+ {
+ test(ctx["_con.localAddress"] == "127.0.0.1");
+ }
test(ctx["_con.remotePort"] != "");
- test(ctx["_con.remoteAddress"] == "127.0.0.1");
+ if (!inFreeBSDJail())
+ {
+ test(ctx["_con.remoteAddress"] == "127.0.0.1");
+ }
}
}
@@ -133,8 +139,11 @@
{
testContext(true, current.ctx);
- test(info.remoteHost == "127.0.0.1");
- test(info.localHost == "127.0.0.1");
+ if (!inFreeBSDJail())
+ {
+ test(info.remoteHost == "127.0.0.1");
+ test(info.localHost == "127.0.0.1");
+ }
test(info.localPort == 12348);
try