[LTP] [PATCH] mem/swapping: add missing .forks_child

Xiao Yang yangx.jy@cn.fujitsu.com
Wed Aug 9 10:42:00 CEST 2017


Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 testcases/kernel/mem/swapping/swapping01.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/mem/swapping/swapping01.c b/testcases/kernel/mem/swapping/swapping01.c
index 41a2561..5610806 100644
--- a/testcases/kernel/mem/swapping/swapping01.c
+++ b/testcases/kernel/mem/swapping/swapping01.c
@@ -154,5 +154,6 @@ static void check_swapping(void)
 
 static struct tst_test test = {
 	.needs_root = 1,
+	.forks_child = 1,
 	.test_all = test_swapping,
 };
-- 
1.8.3.1





More information about the ltp mailing list