]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346854:
authorMichael Tuexen <tuexen@FreeBSD.org>
Sat, 4 May 2019 13:58:45 +0000 (13:58 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sat, 4 May 2019 13:58:45 +0000 (13:58 +0000)
commit9d9c056fb395ec94065fa4c88fb7b2d8d54fed31
tree2607447d41ad78cb791953ff2336a5915fcbd4e9
parent2b53926a76323efd3112e4f44bde7ffa218fe321
MFC r346854:
Some test scripts use ncat --sctp --listen port to run an SCTP discard
server in the background. However, when running in the background,
stdin is closed and ncat initiates a graceful shutdown of the SCTP
association. This is not expected by the client. Therefore, the
ncat-based discard server is replaced by a perl-based one.

In addition, to remove the dependency from ncat, which needs to be
installed via the nmap port, also the code testing for a free SCTP port
is changed to use the perl-based client.

Finally, remove some debug output from the report generated.

Reviewed by: lwhsu@
Differential Revision: https://reviews.freebsd.org/D20086
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/tst.ipv4localsctp.ksh
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/tst.localsctpstate.ksh