On Tue, Aug 4, 2009 at 5:14 AM, rohit verma<[email protected]> wrote: > PFA the patch for waitid02 > > On Tue, Aug 4, 2009 at 5:35 PM, Subrata Modak<[email protected]> > wrote: >> On Tue, 2009-08-04 at 17:01 +0530, rohit verma wrote: >>> FYI >> >> unfortunately, you did not attach the patch itself ;-) >> >> Regards-- >> Subrata >> >>> >>> ---------- Forwarded message ---------- >>> From: Subrata Modak <[email protected]> >>> Date: Tue, Aug 4, 2009 at 4:54 PM >>> Subject: Re: [LTP] waitid02 testcase fails on 2.6.29 kernel >>> To: rohit verma <[email protected]> >>> Cc: [email protected], CAI Qian <[email protected]> >>> >>> >>> Rohit, >>> >>> Post this to ltp mailing list. >>> >>> Regards-- >>> Subrata >>> >>> On Tue, 2009-08-04 at 16:52 +0530, rohit verma wrote: >>> > Dear Manas Kumar Nayak, >>> > >>> > Pls find attached patch for waitid02 test case.I have modified the >>> > test case.I have also added 2 test scenarios in the test case using >>> > WSTOPPED and WNOWAIT. >>> > >>> > Note: >>> > The testcase was failing in LTP July, 2009 release. >>> > The warning- "implicit declaration of function 'getpgid", has been removed >>> > >>> > Pls verify the patch. >>> > >>> > Regards-- >>> > Rohit Verma >>> > >>> > >>> > >>> > On Thu, Jul 30, 2009 at 11:59 PM, Subrata >>> > Modak<[email protected]> wrote: >>> > > Fixed this now. >>> > > >>> > > Regards-- >>> > > Subrata >>> > > >>> > > On Thu, 2009-07-23 at 14:00 +0530, rohit verma wrote: >>> > >> Hi, >>> > >> >>> > >> I am running waitid02.c >>> > >> (ltp-full-20090630/testcases/kernel/syscalls/waitid/ ) test case on >>> > >> 2.6.29 kernel. >>> > >> Test case gives following error: >>> > >> "Error. is your system >2.6.9 ?"; >>> > >> >>> > >> Anybody facing the same issue? >>> > >> >>> > >> Code: >>> > >> >>> > >> TEST(waitid(P_ALL,0,&infop,WNOHANG)); >>> > >> if(TEST_RETURN == 0) >>> > >> tst_resm(TPASS,"Success !"); >>> > >> else{ >>> > >> printf("value of return is %d\n",TEST_RETURN); >>> > >> tst_resm(TFAIL,"Error. is your system >2.6.9 ?"); >>> > >> errnochoose(); >>> > >> } >>> > >> >>> > >> >>> > >> Regards, >>> > >> Rohit > > Regards, > Rohit
Sorry to be anal retentive, but the types for many of the fields didn't match before, and they don't match now... s/id_t/pid_t/ for the return values' types for all corresponding calls to getpid, getpgid, getpgrp, etc. Thanks, -Garrett ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
