From: Shuang Qiu <[email protected]> According to CLONE manual page "This flag was deprecated from Linux 2.6.25 onward, and was removed altogether in Linux 2.6.38." skip test_clone_stopped test from kernel 2.6.38.
Signed-off-by: Shuang Qiu <[email protected]> --- testcases/kernel/syscalls/clone/clone08.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/testcases/kernel/syscalls/clone/clone08.c b/testcases/kernel/syscalls/clone/clone08.c index 14ebf60..6857ab1 100644 --- a/testcases/kernel/syscalls/clone/clone08.c +++ b/testcases/kernel/syscalls/clone/clone08.c @@ -238,6 +238,11 @@ static void test_clone_stopped(int t) int flag; pid_t child; + if (tst_kvercmp(2, 6, 38) >= 0) { + tst_resm(TINFO, "CLONE_STOPPED skipped for kernels >= 2.6.38"); + return; + } + stopped_flag = 0; child = clone_child(&test_cases[t], 1); -- 1.7.7 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
