diff options
author | Raimo Niskanen <[email protected]> | 2013-11-14 18:45:41 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2013-11-15 11:24:14 +0100 |
commit | 0a41cdc148fd30e67a9a9a34e5e9c2a2a523f80c (patch) | |
tree | f14c76497e019b92da2d6caa2065477980c964a3 | |
parent | 2e96b554bd0374224aed1c28e48d139fad42c38e (diff) | |
download | otp-0a41cdc148fd30e67a9a9a34e5e9c2a2a523f80c.tar.gz otp-0a41cdc148fd30e67a9a9a34e5e9c2a2a523f80c.tar.bz2 otp-0a41cdc148fd30e67a9a9a34e5e9c2a2a523f80c.zip |
Adjust test cases for SLES 10 SP 1
-rw-r--r-- | lib/kernel/test/gen_sctp_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_sctp_SUITE.erl b/lib/kernel/test/gen_sctp_SUITE.erl index 8bd1633ef1..d2de96b269 100644 --- a/lib/kernel/test/gen_sctp_SUITE.erl +++ b/lib/kernel/test/gen_sctp_SUITE.erl @@ -1284,11 +1284,14 @@ do_names(_, FamilySpec, AddressCount) -> ?line ClientSocknames = ServerPeernames, ?line {ok,Socket} = gen_sctp:peeloff(ServerSocket, ServerAssoc), - ?line Socknames = + ?line SocknamesNoassoc = lists:sort(ok(inet:socknames(Socket))), + ?line ?LOGVAR(SocknamesNoassoc), ?line Socknames = lists:sort(ok(inet:socknames(Socket, ServerAssoc))), ?line ?LOGVAR(Socknames), + ?line true = + ordsets:is_subset(SocknamesNoassoc, Socknames), ?line Peernames = lists:sort(ok(inet:peernames(Socket, ServerAssoc))), ?line ?LOGVAR(Peernames), |