diff mbox series

[2/3] clone04: Add musl-git tag

Message ID 20230925151319.87688-3-pvorel@suse.cz
State Accepted
Headers show
Series Report clone04 failure on musl | expand

Commit Message

Petr Vorel Sept. 25, 2023, 3:13 p.m. UTC
clone04 test fails on musl due to producing a child process with
inconsistent state. The clone() function has been effectively unusable
since it was added, recently musl got fix. Mark this fix.

Fixes: #1081
Reported-by: Richard Palethorpe <rpalethorpe@suse.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/syscalls/clone/clone04.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/clone/clone04.c b/testcases/kernel/syscalls/clone/clone04.c
index 7af4fedd3..74347e2b4 100644
--- a/testcases/kernel/syscalls/clone/clone04.c
+++ b/testcases/kernel/syscalls/clone/clone04.c
@@ -2,6 +2,7 @@ 
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * Copyright (c) 2012 Wanlong Gao <gaowanlong@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2003-2023
  */
 
 /*\
@@ -44,4 +45,8 @@  static void verify_clone(unsigned int nr)
 static struct tst_test test = {
 	.tcnt = ARRAY_SIZE(tcases),
 	.test = verify_clone,
+	.tags = (const struct tst_tag[]) {
+		{"musl-git", "fa4a8abd06a4"},
+		{}
+	},
 };