Skip to contentSkip to conversation

syscalls/clone07: Remove the testcase

PATCH Superseded zhanglianjie 2 participants 2 messages Aug 13, 2021 – Aug 25, 2021

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 7/7 syscalls/clone07: Remove the testcase

As clone02 now covers both file and directory.

runtest/syscalls +0 -1
index 9aafba932..9bfcd7a91 100644
@@ -109,7 +109,6 @@ clone03 clone03
 clone04 clone04
 clone05 clone05
 clone06 clone06
-clone07 clone07
 clone08 clone08
 clone09 clone09
 
testcases/kernel/syscalls/clone/.gitignore +0 -1
index 900cac19c..ffa85db57 100644
@@ -4,6 +4,5 @@
 /clone04
 /clone05
 /clone06
-/clone07
 /clone08
 /clone09
testcases/kernel/syscalls/clone/clone07.c deleted +0 -128

128 lines not on this page · raw message

Signature · 1 line
2.20.1
#1 lore raw

PATCH 7/7 syscalls/clone07: Remove the testcase

Hi!

testcases/kernel/syscalls/clone/clone07.c line 113

Quoted 4 lines
testcases/kernel/syscalls/clone/clone07.c deleted +0 -4
-static int do_child(void)
-{
-	return 0;
-}

As far as I can tell this test is asserting that return from the do_child() function exits the child, which is not done in any other tests where we do exit the child with _exit(0).

Signature · 2 lines
Cyril Hrubis
[email protected]