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

Andrea Cervesato andrea.cervesato@suse.com
Mon Jul 15 13:03:43 CEST 2024


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
>
> - 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?
And another thing....the kselftests only check for EBADF and now I 
understand why: basically cachestat() seems to always pass but when file 
descriptor is invalid....
>
> All these corner cases are probably more interesting that the basic
> functional test.
>
Andrea



More information about the ltp mailing list