[email protected] (Alfred M. Szmidt) writes: > I added a self-test of ftpd and ftp. It requires root privs and > that a user 'ftp' exists on the system, which is pretty > unfortunate, but I can't think of any easy improvement. > > http://git.savannah.gnu.org/cgit/inetutils.git/tree/tests/ftp-localhost.sh > > Now on to fixing some code duplication in ftpd... > > Nice!
Unfortunately the code de-duplication part turned out to be difficult... replacing InetUtils' libls/fts.? with fts.? from gnulib builds fine but makes ftpd's stop producing any output when listing directories. Lucky I added the self-test first so we noticed this problem. I don't have time to debug libls further, so I'll leave that part. /Simon
