[LTP] [PATCH 3/3] Add ioctl_ficlone03 test

Cyril Hrubis chrubis@suse.cz
Fri May 31 10:03:21 CEST 2024


Hi!
> > Can we move these invalid_fd tests into a separate test and use tst_fd
> > to loop over all kinds of invalid input and output file descriptors?
> >
> I don't know if it's worth to loop over all possible cases. Each one of 
> them has a specific test case.

This was actually requested by kernel developers, to feed the syscalls
with all kind of unexpected file descriptors.

> Also, invalid_fd test cases would look so simple that it makes more 
> sense to keep it here.

Fair enough, we can keep these two here, but we need a tst_fd test as
well.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list