[LTP] [PATCH v1 0/3] cachestat testing suite

Andrea Cervesato andrea.cervesato@suse.com
Mon Jul 15 12:58:13 CEST 2024


Hi!

On 7/8/24 16:38, Cyril Hrubis wrote:
> Hi!
> This series is missing all kind of "interesting" tests namely:
>
> - tst_fd iterator test that passes all kinds of unexpected fds to the
>    cachestat syscall
I had a try, but it seems like the only 2 unsupported file types are 
TST_FD_OPEN_TREE and TST_FD_PATH.
I don't know if it makes much sense to add this test.
> - invalid parameters tests, invalid fd, invalid pointers
>    - what does happen if we supply len = 0
>    - what does happen if we pass off or len out of the file?
>
> All these corner cases are probably more interesting that the basic
> functional test.
>
Andrea



More information about the ltp mailing list