[LTP] [PATCH] syscall/read: add new testcase for read

Richard Palethorpe rpalethorpe@suse.de
Mon Nov 20 12:53:28 CET 2017


Hello Lucas,

Lucas Boehm writes:

>  Check the return value of read
>  1. Count bytes are read from the current file
>  2. Current offset is modified by lseek()
>  3. Count bytes are read from the current file
>
> Signed-off-by: Lucas Boehm <lucas@opentech.at>

The test lseek01 already uses seek before performing a read and checks
that the correct data was read.

-- 
Thank you,
Richard.


More information about the ltp mailing list