aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/kernel/test/gen_sctp_SUITE.erl5
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),