svn commit: r330696 - in head/libexec/tftpd: . tests

Alan Somers asomers at freebsd.org
Fri Mar 9 15:55:35 UTC 2018


On Fri, Mar 9, 2018 at 8:52 AM, Rodney W. Grimes <
freebsd at pdx.rh.cn85.dnsmgr.net> wrote:

> > Author: asomers
> > Date: Fri Mar  9 15:30:20 2018
> > New Revision: 330696
> > URL: https://svnweb.freebsd.org/changeset/base/330696
> >
> > Log:
> >   Add some functional tests for tftpd(8)
> >
> >   tftpd(8) is difficult to test in isolation due to its relationship with
> >   inetd.  Create a test program that mimics the behavior of tftp(1) and
> >   inetd(8) and verifies tftpd's response in several different scenarios.
>
> At one time I thought it was possible to run all of the external "inetd"
> daemons as standalone daemons without inetd involved.
> I do not recall if tftpd was included in that, but believe it was.
> I am sure that telnetd and ftpd would run standalone.
>
> Have we lost some useful functionality here that maybe we want back?
>

Some daemons support that, but others don't.  It's not in common code.
sprayd and ftpd can do it.  It looks like telnetd cannot.  I'm not sure
which others can.
-Alan


More information about the svn-src-head mailing list