All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] runtest/syscalls: Add testcases to test list
@ 2021-03-16  9:06 Zhao Gongyi
  2021-03-16 14:26 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Zhao Gongyi @ 2021-03-16  9:06 UTC (permalink / raw)
  To: ltp

Add syscall test cases to test list.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
 runtest/syscalls | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/runtest/syscalls b/runtest/syscalls
index fe22ae5b6..292768be1 100644
--- a/runtest/syscalls
+++ b/runtest/syscalls
@@ -44,6 +44,7 @@ bpf_prog03 bpf_prog03
 bpf_prog04 bpf_prog04

 brk01 brk01
+brk02 brk02

 capget01 capget01
 capget02 capget02
@@ -492,6 +493,7 @@ getrlimit02 getrlimit02
 getrlimit03 getrlimit03

 get_mempolicy01 get_mempolicy01
+get_mempolicy02 get_mempolicy02
 get_robust_list01 get_robust_list01

 getrusage01 getrusage01
@@ -695,6 +697,8 @@ mbind02 mbind02
 mbind03 mbind03
 mbind04 mbind04

+mem03 mem03
+
 memset01 memset01
 memcmp01 memcmp01
 memcpy01 memcpy01
@@ -751,6 +755,7 @@ mmap06 mmap06
 mmap07 mmap07
 mmap08 mmap08
 mmap09 mmap09
+mmap10 mmap10
 mmap12 mmap12
 mmap13 mmap13
 mmap14 mmap14
--
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] runtest/syscalls: Add testcases to test list
  2021-03-16  9:06 [LTP] [PATCH] runtest/syscalls: Add testcases to test list Zhao Gongyi
@ 2021-03-16 14:26 ` Cyril Hrubis
  0 siblings, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2021-03-16 14:26 UTC (permalink / raw)
  To: ltp

Hi!
> Add syscall test cases to test list.

I've looked at the tests the brk02 and get_mempolicy02 should have been
added to syscalls, this was a mistake that needs to be fixed ASAP.

As for the mem03.c the test is in a wrong place and should be moved and
reviewed first. It looks like it should be, at least, moved to the
syscalls/mmap/ directory and renamed to mmapXX.c

And similarily mmap10.c needs review and cleanup, it does not even print
pass/fail report at the end.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] runtest/syscalls: Add testcases to test list
@ 2021-03-17  5:02 zhaogongyi
  0 siblings, 0 replies; 3+ messages in thread
From: zhaogongyi @ 2021-03-17  5:02 UTC (permalink / raw)
  To: ltp

Hi Cyril,

I have resubmit the patch according your review. The problem of test case mem03.c and mmap10.c may be fixed in later work.

Thanks so much!

Best Regards,
Gongyi

> 
> Hi!
> > Add syscall test cases to test list.
> 
> I've looked at the tests the brk02 and get_mempolicy02 should have been
> added to syscalls, this was a mistake that needs to be fixed ASAP.
> 
> As for the mem03.c the test is in a wrong place and should be moved and
> reviewed first. It looks like it should be, at least, moved to the
> syscalls/mmap/ directory and renamed to mmapXX.c
> 
> And similarily mmap10.c needs review and cleanup, it does not even print
> pass/fail report at the end.
> 
> --
> Cyril Hrubis
> chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-17  5:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16  9:06 [LTP] [PATCH] runtest/syscalls: Add testcases to test list Zhao Gongyi
2021-03-16 14:26 ` Cyril Hrubis
  -- strict thread matches above, loose matches on Subject: below --
2021-03-17  5:02 zhaogongyi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.