[LTP] [PATCH v2] ftp01.sh: Add support for test lftp

Martin Doucha mdoucha@suse.cz
Wed Oct 16 18:17:06 CEST 2024


On 16. 10. 24 14:47, Cyril Hrubis wrote:
> Hi!
>> To be honest, I would rather to remove this FTP test because FTP protocol is
>> legacy. I know it is supposed to be a smoke test, but maybe using modern tools
>> would be better than keeping test working among various old FTP implementations.
>> (Also nontrivial setup is required just for few FTP tests:
>> https://github.com/linux-test-project/ltp/tree/master/testcases/network )
>> But probably Cyril would be against. @Cyril @Martin WDYT?
> 
> So where is the ftp server setup code? Or do we expect ftp server to be
> installed and configured prior to the test execution?
> 
> The actuall test does not look that complex to me.

Hi,
I've replied to patchset v1[1] that the server setup is better left to 
the user, like we do with NFS. In our case, it should be done in OpenQA 
during VM environment setup.

I agree that the test could be replaced by a socket test, either using 
improved netstress tool or some new syscall tests for send()/recv()/...

[1] 
https://patchwork.ozlabs.org/project/ltp/patch/20240918100344.21316-1-wegao@suse.com/#3381493

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic



More information about the ltp mailing list