This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: punt test_strerror


Roland McGrath <roland@frob.com> writes:

> Any objection to dropping the strerror test from string/tester.c?  All it
> does is test that strerror matches _sys_errlist, which it always will since
> they're being linked in from the same library.  And on the Hurd, there is
> no _sys_errlist, so we can't build the tester.

Well, the current test isn't useful.  But let's have a test which at
least calls strerror a few times for some well-defined error numbers.
No need to compare the result.  The point is that in a cleam 'make
check' run strerror otherwise would probably not be called at all.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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