On Monday 24 August 2009 04:44:05 Geert Uytterhoeven wrote:
> On Sat, 22 Aug 2009, Mike Frysinger wrote:
> > On Saturday 22 August 2009 22:37:28 CAI Qian wrote:
> > > ENOSYS is the expected result if the kernel under test has no such
> > > implementation, so I would consider TPASS or TCONF.
> >
> > TPASS is wrong.  in another thread, people seemed to be OK with TCONF.
>
> Still, the summary only shows `FAIL' or `PASS'. What is it supposed to
> show for TCONF?

i think acct01 handles this OK:
        if (errno == ENOSYS) {
            tst_resm(TCONF,
                 "BSD process accounting is not configured in this kernel.");
            tst_resm(TCONF, "Test will not run.");
            tst_exit();

although we could perhaps codify this nicely by adding a new 
tst_missing_support() or similar function that would do this kind of thing.  
first argument would be an explanatory message like "BSD process accounting is 
not configured in this kernel".  any suggestions for a better function name ?
-mike

Attachment: 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

Reply via email to