Skip to contentSkip to conversation

runtest/syscalls: Add testcases to test list

PATCH Superseded Zhao Gongyi 2 participants 2 messages Mar 16, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runtest/syscalls: Add testcases to test list

Add syscall test cases to test list.

---
 runtest/syscalls | 5 +++++
 1 file changed, 5 insertions(+)
runtest/syscalls +5 -0
index fe22ae5b6..292768be1 100644
@@ -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

#1 lore raw

PATCH 1/1 runtest/syscalls: Add testcases to test list

Hi!

Quoted 1 line

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.

Signature · 2 lines
Cyril Hrubis
[email protected]