[LTP] [RFC PATCH 0/1] brk: use direct syscalls

Teo Couprie Diaz teo.coupriediaz@arm.com
Wed Nov 30 14:03:49 CET 2022


Hi Cyril and Petr, thanks for having a look and the discussion !

On 29/11/2022 13:40, Cyril Hrubis wrote:
> Hi!
>> WDYT about .test_variants? In that case it'd be tested also on musl
>> or any platform where it's implemented.
> I would got for it, that way we would test both the kernel implemntation
> and that libc does something sensible, e.g. returns error.
>
I'm still quite new to LTP, so I might be understanding things wrong.

My understanding of your conversation is that you're suggesting using 
the .test_variants to have one version of the tests going through the 
libc wrappers as usual, eventually skipping the test with TCONF if the 
libc wrapper does not implement the syscall, and one version which would 
be the the direct syscall I am suggesting in this patch.

Would that be correct ? If so it does make sense to me, I could try 
implementing that.


Best regards,
Téo



More information about the ltp mailing list