[LTP] [PATCH 1/7] getitimer02: Skipped EFAULT tests for libc variant.
Vinay Kumar
vinay.m.engg@gmail.com
Wed Jun 9 19:38:34 CEST 2021
Hi Petr,
Sent v2 patches for review with suggested corrections.
>> In the text after blank line I'd mention EFAULT skipped on raw syscall.
>> It'd would deserve to mention why.
Yes, added the reason in the commit log of each test case.
>> Also, as test it's quite simple, it'd be nice, if you first convert it to new
>> API and in second commit added test variants.
getitimer02.c, getrusage02.c and setitimer02.c are updated to the new API.
Then added test variants. Remaining test cases are already updated
with the new API.
>> During rewrite you should remove #if !defined(UCLINUX) check as getitimer() is
>> supported on uclibc-ng.
Removed the same.
Regards,
Vinay
On Wed, Jun 9, 2021 at 2:13 AM Petr Vorel <pvorel@suse.cz> wrote:
>
> Hi Vinay,
>
> > Tested EFAULT cases only for "__NR_getitimer" syscall.
> Well, you added testing raw syscall via test variant.
> That's IMHO the most important thing to mention.
>
> In the text after blank line I'd mention EFAULT skipped on raw syscall.
> It'd would deserve to mention why.
>
> Also, as test it's quite simple, it'd be nice, if you first convert it to new
> API and in second commit added test variants.
> During rewrite you should remove #if !defined(UCLINUX) check as getitimer() is
> supported on uclibc-ng.
>
> This apply to whole patchset (some tests are already ported to new API).
>
> Kind regards,
> Petr
More information about the ltp
mailing list