[LTP] [PATCH] syscalls/nice05:Delete unnecessary setting.

Luo xiaoyu luoxiaoyu9@huawei.com
Tue Oct 18 03:17:16 CEST 2022


Remove .forks_child setting while the case does not fork a child
process.

Signed-off-by: Luo xiaoyu <luoxiaoyu9@huawei.com>
---
 testcases/kernel/syscalls/nice/nice05.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/syscalls/nice/nice05.c b/testcases/kernel/syscalls/nice/nice05.c
index 62a862a97..2c8ae4156 100644
--- a/testcases/kernel/syscalls/nice/nice05.c
+++ b/testcases/kernel/syscalls/nice/nice05.c
@@ -154,6 +154,5 @@ static struct tst_test test = {
 	.setup = setup,
 	.test_all = verify_nice,
 	.needs_root = 1,
-	.forks_child = 1,
 	.max_runtime = 3,
 };
--
2.17.1



More information about the ltp mailing list