Page MenuHomeFreeBSD

Don't rely on a local sshd being running for a local test.
ClosedPublic

Authored by tuexen on Jul 15 2018, 1:59 PM.
Tags
None
Referenced Files
F132465003: D16276.id45333.diff
Fri, Oct 17, 4:01 AM
Unknown Object (File)
Mon, Oct 6, 1:48 AM
Unknown Object (File)
Sat, Oct 4, 11:41 PM
Unknown Object (File)
Fri, Sep 19, 7:01 PM
Unknown Object (File)
Sep 4 2025, 1:25 AM
Unknown Object (File)
Sep 3 2025, 9:04 PM
Unknown Object (File)
Sep 3 2025, 7:01 PM
Unknown Object (File)
Sep 3 2025, 5:01 PM
Subscribers

Details

Summary

tst.localtcpstate.ksh relies on an instance of sshd running on the local host, which might not be the case. In addition, using ssh has an impact on the TCP communication which is not intended. Therefore, use an instance of nc. This is similar to r286171 for tst.ipv4localtcp.ksh.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable