[bind10-dev] [svn] commit: r3548 - in /experiments/kambe-auth-stats/src/bin: auth/auth_srv.cc auth/tests/asio_link_unittest.cc bind10/bind10.py.in

Naoki Kambe kambe at jprs.co.jp
Thu Nov 18 02:48:06 UTC 2010


Jinmei-san,

Thank you for comments,

> This change effectively disables the test, just like changing this:
>   EXPECT_EQ(1, thisCouldReturnZeroIfBuggy());
> to this:
>   EXPECT_EQ(1, 1 /* thisCouldReturnZeroIfBuggy() */);
That's right. But It isn't exactly fixing. It is a temporary patch
for passing the test in CentOS. I don't expect to commit this patch to
trunk.

> We should instead figure out the exact reason why this test fails for
> that particular platform, and then fix that problem.
Yes, we should. I don't know the reason, but the address can to be
listened on in CentOS. This is an example of netcat command.

  CentOS 5.5:
    $ nc -u -l 255.255.0.0 53535
    (Ctrl-C)			        <-- no error
    $ nc -u -l ::ffff:255.255.0.0 53535
    nc: Cannot assign requested address <-- error

  FreeBSD 8.1:
    $ nc -u -l 255.255.0.0 53535
    nc: Can't assign requested address  <-- error
    $ nc -u -l ::ffff:255.255.0.0 53535
    nc: Can't assign requested address  <-- error

Thanks,

Naoki Kambe



More information about the bind10-dev mailing list