Bug #1087: Failure: test_ipv6_address_predicates(TestSocketAddrInfo)
http://redmine.ruby-lang.org/issues/show/1087

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal
カテゴリ: ext
Reproducible Version: trunk, ruby -v: ruby 1.9.1p5000 (2009-02-02 trunk 21938) [i686-linux]

configureで--with-lookup-order-hack=INETをつけていると
AddrInfo.ip("::ffff:0.0.0.0").ipv6_v4mapped?
がfalseになるようです。

% ruby-trunk -v test/socket/test_addrinfo.rb
ruby 1.9.1p5000 (2009-02-02 trunk 21938) [i686-linux]
Loaded suite test/socket/test_addrinfo
Started
...................F.............
Finished in 0.012232 seconds.

  1) Failure:
test_ipv6_address_predicates(TestSocketAddrInfo) [test/socket/test_addrinfo.rb:367]:
AddrInfo.ip("::ffff:0.0.0.0").ipv6_v4mapped?

33 tests, 165 assertions, 1 failures, 0 errors, 0 skips
% ruby-trunk -v -r socket -e 'p AddrInfo.ip("::ffff:0.0.0.0").ipv6_v4mapped?'
ruby 1.9.1p5000 (2009-02-02 trunk 21938) [i686-linux]
false
%


----------------------------------------
http://redmine.ruby-lang.org