On Fri, 2008-12-12 at 20:16 +0530, Subrata Modak wrote:
> On Tue, 2008-11-25 at 15:50 +0530, Veerendra wrote:
> > hi,
> > 
> > Please find the testcase for the below scenario..
> > 
> > Assertion
> > * *----------------
> > * * kill -USR1 container_init
> > * *     - from the parent process and also inside a container
> > * *     - Where init has defined a custom handler for USR1
> > * *     - Should call the handler and
> > * *     - Verify whether the signal handler is called from the proper 
> > process.
> > * *
> > 
> > Signed-off by:
> > 
> > Veerendra C <[email protected]>
> 
> Thanks. Same here.
> 
> Please add provision to run these tests from:
> http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/containers/pidns/runpidnstest.sh
> 
> through separate patch(s).

I would need a Patch which runs these new tests being added by you ?

Regards--
Subrata

> 
> Regards--
> Subrata
> 
> > Results:
> > 
> > # ./pidns16
> > pidns16     0  INFO  :  sig_handler is signalled from pid  29640
> > pidns16     0  INFO  :  Container: Resumed after receiving SIGUSR1 from 
> > parentNS
> > pidns16     0  INFO  :  sig_handler is signalled from pid  1
> > pidns16     0  INFO  :  Container: Resumed after sending SIGUSR1 from 
> > container itself
> > pidns16     1  PASS  :  container init continued successfuly, after 
> > handling signal -USR1
> > 
> > 
> > Suka,
> > 
> >       After your comments, now I am checking in the signal handler the 
> > sending procee id.
> > If it is from the parent ns and when it is from container init.
> > Also made some small changes after doing waitpid() in main.
> > 
> > 
> > Regards
> > Veerendra C
> > 
> > 
> > Changelog:
> > 
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great 
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________ Ltp-list mailing list 
> > [email protected] 
> > https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to