From: Jan S. <jst...@re...> - 2014-04-30 11:46:08
|
----- Original Message ----- > From: "shuang qiu" <shu...@or...> > To: ltp...@li... > Sent: Wednesday, 30 April, 2014 8:53:45 AM > Subject: [LTP] [PATCH] syscalls/clone08: Skip test_clone_stopped from kernel 2.6.38 > > From: Shuang Qiu <shu...@or...> > > 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 <shu...@or...> Pushed with small changes to commit message and whitespace fix for closing bracket. Thanks, Jan > --- > 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 > Ltp...@li... > https://lists.sourceforge.net/lists/listinfo/ltp-list > |