On Wednesday 18 November 2009 08:07:03 Andrew Vagin wrote:
> On 11/13/2009 06:17 PM, Mike Frysinger wrote:
> > On Friday 13 November 2009 02:52:20 Andrew Vagin wrote:
> >> ---
> >>   .../kernel/timers/clock_settime/clock_settime03.c  |    5 +++--
> >>   1 files changed, 3 insertions(+), 2 deletions(-)
> >>
> >> --- a/testcases/kernel/timers/clock_settime/clock_settime03.c
> >> +++ b/testcases/kernel/timers/clock_settime/clock_settime03.c
> >> @@ -195,10 +195,11 @@ main(int ac, char **av)
> >>                    } else {
> >>                            tst_resm(TFAIL, "clock_settime(2) failed to"
> >>                                            " produce expected error; %d"
> >> -                                          " , errno : %s and got %ld",
> >> +                                          " , errno : %s and "
> >> +                                          "got %ld errno %d",
> >>                                            testcase[i].exp_errno,
> >>                                            testcase[i].exp_errval,
> >> -                                          TEST_RETURN);
> >> +                                          TEST_RETURN, TEST_ERRNO);
> >
> > please convert it to TFAIL|TTERRNO instead
> 
> I don't understand. pls describe in detail

dont show/parse TEST_ERRNO yourself.  simply use what i showed as the first 
argument to the tst_resm func.
-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