diff mbox series

runtest/syscalls: Add testcases to test list

Message ID 20210316090646.10061-1-zhaogongyi@huawei.com
State Changes Requested
Headers show
Series runtest/syscalls: Add testcases to test list | expand

Commit Message

Zhao Gongyi March 16, 2021, 9:06 a.m. UTC
Add syscall test cases to test list.

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

--
2.17.1

Comments

Cyril Hrubis March 16, 2021, 2:26 p.m. UTC | #1
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.
diff mbox series

Patch

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