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: Ulrich Drepper <drepper at redhat dot com>
- To: caglar at pardus dot org dot tr
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 13 Apr 2008 12:12:59 -0700
- 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>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFIAls62ijCOnn/RHQRAjz4AJ9QXtvvpi1snZhvlIqi4dq3C/sz8ACgosB6
pGEhVwwqGOms5Hpzv7IH5mo=
=jUiO
-----END PGP SIGNATURE-----