On Wed, 2009-01-21 at 19:30 +0530, Veerendra wrote: > Subrata Modak wrote: > > Still fails on the latest LTP CVS: > > > > patching file testcases/kernel/containers/sysvipc/sem_nstest.c > > patching file testcases/kernel/containers/sysvipc/runipcnstest.sh > > Hunk #1 FAILED at 40. > > 1 out of 1 hunk FAILED -- saving rejects to file > > testcases/kernel/containers/sysvipc/runipcnstest.sh.rej > > > > Regards-- > > Subrata > > > > On Mon, 2009-01-19 at 17:04 +0530, Veerendra wrote: > > > >> Serge E. Hallyn wrote: > >> > >>> Quoting Veerendra (vee...@linux.vnet.ibm.com): > >>> > >>> > >>>> Hi > >>>> > >>>> > >>>> Submitting a new testcase on semaphore to test the IPCNS in the > >>>> containers. This patch contains the batch file to run the test on LTP. > >>>> > >>>> In this patch , I am checking the IPCNS functionaity: > >>>> "Semaphore in parent NS is isolated from the container" > >>>> > >>>> > >>>> Changelog: > >>>> Removed the extra semget call in the check_semaphore(). > >>>> Corrected the indentation. > >>>> > >>>> > >>>> > >>> Acked-by: Serge Hallyn <se...@us.ibm.com> > >>> > >>> EXCEPT you should probably use a tst_resm(TBROK) + tst_exit() when > >>> semget fails in main(). > >>> > >>> thanks, > >>> -serge > >>> > >>> > >>> > >> (Attaching the patch. ) > >> > >> Changelog2: (ver3) > >> Addressed comments from Serge, to use the tst_resm(TBROK) and tst_exit() > >> during semget in main(). > >> Created new patch on the updated ltp cvs tree. > >> > >> > >> Regards > >> Veerendra C > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by: > >> SourcForge Community > >> SourceForge wants to tell your story. > >> http://p.sf.net/sfu/sf-spreadtheword > >> _______________________________________________ Ltp-list mailing list > >> Ltp-list@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/ltp-list > >> > > > > > > > Subrata, > > I'm able to apply the patch on the latest repo. > > e326m:/tmp/ltp-full-20081231 # patch -p1 --dry-run < > ~/ltp-full-20081231/patches/semaphore.patch > patching file testcases/kernel/containers/sysvipc/sem_nstest.c > patching file testcases/kernel/containers/sysvipc/runipcnstest.sh > Hunk #1 succeeded at 31 with fuzz 1 (offset -9 lines). > > Anyhow I have recreated the new patch using the diff, instead of quilt. > Also I tried to apply myself and could apply this without any > warnings/errors. > > Please try to apply this now. >
Yes, it works fine now. Thanks. Added. Regards-- Subrata > > > Thanks > veeru ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list