This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: times02 test in LTP (Testcase to test that times() sets errno correctly) fails with glibc-2.8
- From: "S.ÃaÄlar Onur" <caglar at pardus dot org dot tr>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 13 Apr 2008 22:26:02 +0300
- Subject: Re: times02 test in LTP (Testcase to test that times() sets errno correctly) fails with glibc-2.8
- References: <200804132201.42292.caglar@pardus.org.tr> <48025B3B.1020004@redhat.com>
- Reply-to: caglar at pardus dot org dot tr
Hi;
13 Nis 2008 Paz tarihinde, Ulrich Drepper ÅunlarÄ yazmÄÅtÄ:
> S.ÃaÄlar Onur wrote:
> > buildhouse ltp-full-20080331 # ./testcases/bin/times02
> > times02 1 FAIL : times(2) failed to FAIL
>
> That test is bogus, at least for archs which report return value and
> error in the same value. times has no reserved error code. In glibc
> 2.9 we will have code which causes the application to crash in case a
> real EFAULT error is returned. This will also be different from what
> the test expect. Get that test removed from the test suite.
I just send a removal patch to LTP lists, thanks for explanation...
Cheers
--
S.ÃaÄlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!