On Monday 10 August 2009 11:44:57 Garrett Cooper wrote: > On Mon, Aug 10, 2009 at 1:29 AM, srikanth krishnakar wrote: > > On Mon, Aug 10, 2009 at 1:50 PM, Subrata Modak wrote: > >> On Fri, 2009-08-07 at 20:56 +0530, srikanth krishnakar wrote: > >> > I see these two test cases are failing on PowerPC target (ppc440) as > >> > shown in output file, but they are listed as PASS in log file of the > >> > LTP : > >> > > >> > Target : PowerPC (ppc440) > >> > Kernel: Linux-2.6.29 > >> > LTP Version : ltp-full-20090731 > >> > > >> > LTP output file : > >> > ############# > >> > > >> > > >> > 1. add_key01 > >> > -------------------- > >> > > >> > <<<test_start>>> > >> > tag=add_key01 stime=1248549741 > >> > cmdline="add_key01" > >> > contacts="" > >> > analysis=exit > >> > <<<test_output>>> > >> > add_key01 1 TFAIL : add_key01 failed - errno = 38 : Function not > >> > implemented > >> > <<<execution_status>>> > >> > initiation_status="ok" > >> > duration=0 termination_type=exited termination_id=0 corefile=no > >> > cutime=0 cstime=0 > >> > <<<test_end>>> > >> > > >> > 2. add_key02 > >> > ---------------------- > >> > > >> > <<<test_start>>> > >> > tag=add_key02 stime=1248549741 > >> > cmdline="add_key02" > >> > contacts="" > >> > analysis=exit > >> > <<<test_output>>> > >> > add_key02 0 TINFO : call add_key() with wrong args got > >> > UNEXPECTED errno:38 > >> > add_key02 1 TFAIL : add_key02 failed - errno = 38 : Function not > >> > implemented > >> > <<<execution_status>>> > >> > initiation_status="ok" > >> > duration=0 termination_type=exited termination_id=0 corefile=no > >> > cutime=0 cstime=1 > >> > <<<test_end>>> > >> > > >> > -------------------------------------------------------- > >> > > >> > BUT the Log file shows as PASS to the above test cases : > >> > > >> > ########################### > >> > > >> > add_key01 PASS 0 > >> > add_key02 PASS 0 > >> > > >> > ########################### > >> > > >> > > >> > May anyone explain, why it is so ? Is it a known behaviour ? > >> > >> No. It is not. On my X_32, it passes fine. > > > > Is it PowePC target on which you have tested ? > > > >> $ ./testcases/bin/add_key01 > >> add_key01 1 TPASS : add_key call succeeded > >> $ echo $? > >> 0 > >> $ ./testcases/bin/add_key02 > >> add_key02 0 TINFO : call add_key() with wrong args got EXPECTED > >> errno:22 > >> add_key02 1 TPASS : add_key call succeeded > >> $ echo $? > >> 0 > >> $ uname -a > >> Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 > >> GNU/Linux > > Hi Srikanth, > I think that the error is fairly intuitive (function not > implemented). Are you sure that your subarchitecture supports > add_key(2)? > Hi Subrata, > As far as the actual issue is concerned, I think that the problem > is that someone's exiting with exit(0) instead of tst_exit()...
and ENOSYS really should be TBROK or something, not TINFO+TPASS. or this leads into a past thread where LTP handles this case inconsistently. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ 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
