]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some test scripts use ncat --sctp --listen port to run an SCTP discard
authortuexen <tuexen@FreeBSD.org>
Sun, 28 Apr 2019 19:07:31 +0000 (19:07 +0000)
committertuexen <tuexen@FreeBSD.org>
Sun, 28 Apr 2019 19:07:31 +0000 (19:07 +0000)
commit8769fe34396b7e9e18b9b5cb33b46d34b40af57a
tree203c56fe61aea81ec836553509edc3f8e6934b30
parent6474dd73f19c1ddf5e4e01cdbbf76bc02ee97712
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