[tor-bugs] #20634 [Core Tor/Tor]: Unit test address/get_if_addrs6_list_no_internal should succeed if there are only internal addresses
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Nov 11 06:47:04 UTC 2016
#20634: Unit test address/get_if_addrs6_list_no_internal should succeed if there
are only internal addresses
------------------------------+--------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor | Version: Tor: 0.2.8.1-alpha
Severity: Normal | Keywords: easy intro test
Actual Points: | Parent ID:
Points: 0.1 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
Split off #19960:
It is ok for the log message generated by
address/get_if_addrs6_list_no_internal to be either:
* "connect() failed", or
* "unable to create socket", or
* "Address that we determined via UDP socket magic is unsuitable for
public comms."
But we don't currently allow the third option.
{{{
address/get_if_addrs6_list_no_internal: [forking]
FAIL src/test/test_address.c:850: expected log to contain "connect()
failed" o
r "unable to create socket" Captured logs:
1. err: "Address that we determined via UDP socket magic is unsuitable
for p
ublic comms.\n"
[get_if_addrs6_list_no_internal FAILED]
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20634>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list