INN commit: trunk/tests/util (inndf.t)
Russ Allbery
rra at stanford.edu
Sun Sep 23 02:38:16 UTC 2007
Julien ÉLIE <julien at trigofacile.com> writes:
> There is also one *last* (yup!) problem for the test suite on FreeBSD:
> # ./strerror.t
> 5
> ok 1
> not ok 2
> wanted: Unknown error: 0
> seen: Undefined error: 0
> ok 3
> ok 4
> ok 5
> It is the code:
> ok_string(2, strerror(0), test_strerror(0));
> I do not know how to prevent that from happening.
> (It works with another code than 0 but perhaps you want 0
> to be put here.)
Yeah, it's specifically to test handling of 0. That's annoying; it means
that sys_errlist on FreeBSD is different than what strerror returns.
That's really a (minor) OS bug. It doesn't actually mean anything for
INN, since of course strerror isn't used on that platform.
I doubt that there is any host on which INN can run that doesn't provide
strerror() as part of libc. We could just delete strerror and the
Autoconf probe for it.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list