punt test_strerror

Ulrich Drepper drepper@redhat.com
Thu Aug 23 22:52:00 GMT 2001


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



More information about the Libc-hacker mailing list