Project

General

Profile

Bug #1087

Failure: test_ipv6_address_predicates(TestSocketAddrInfo)

Added by znz (Kazuhiro NISHIYAMA) over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.1p5000 (2009-02-02 trunk 21938) [i686-linux]
Backport:
[ruby-dev:37868]

Description

=begin
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
%
=end

History

#1

Updated by ko1 (Koichi Sasada) over 10 years ago

  • Assignee set to akr (Akira Tanaka)

=begin

=end

#2

Updated by akr (Akira Tanaka) over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r21968.
=end

Also available in: Atom PDF