Test suite on BSDI BSD/OS

Russ Allbery rra at stanford.edu
Sat Jan 31 16:49:37 UTC 2009


Julien ÉLIE <julien at trigofacile.com> writes:

> The second one:
> * lib/getaddrinfo
>
>    test_getaddrinfo("foo.invalid", NULL, NULL, &ai) == EAI_NONAME
>
> is false.  There is no error -> code 0 is returned.  Should we check for
> one of EAI_NONAME and 0?  Or is there something else to fix?

I think there's something else to fix, since that would imply that you're
getting a valid DNS return for foo.invalid.  (Chances are fairly good that
it's some sort of problem with the test rather than the code, but that's
not certain.)

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