[LTP] [PATCH v3] getrusage02: Skipped EFAULT tests for libc variant.

Vinay Kumar vinay.m.engg@gmail.com
Mon Jun 14 17:14:40 CEST 2021


Hi Cyril,

Thanks for your review.
In your corrections for getrusage02.c need below change.

============================
diff --git a/testcases/kernel/syscalls/getrusage/getrusage02.c
b/testcases/kernel/syscalls/getrusage/getrusage02.c
index 24777687c..767663090 100644
--- a/testcases/kernel/syscalls/getrusage/getrusage02.c
+++ b/testcases/kernel/syscalls/getrusage/getrusage02.c
@@ -61,7 +61,7 @@ static void verify_getrusage(unsigned int i)
                return;
        }

-       TST_EXP_FAIL(getrusage(tc[i].who, tc[i].usage), tc[i].exp_errno,
+       TST_EXP_FAIL(tv->getrusage(tc[i].who, tc[i].usage), tc[i].exp_errno,
                     "getrusage(%i, %p)", tc[i].who, tc[i].usage);
 }
============================

Regards,
Vinay

On Mon, Jun 14, 2021 at 8:33 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> Slightly adjusted and pushed, thanks.
>
> --
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list