[LTP] [PATCH 2/3] clone04: Add musl-git tag
Petr Vorel
pvorel@suse.cz
Mon Sep 25 17:13:18 CEST 2023
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 --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"},
+ {}
+ },
};
--
2.40.1
More information about the ltp
mailing list