This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: times02 test in LTP (Testcase to test that times() sets errno correctly) fails with glibc-2.8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]