[tor-bugs] #25993 [Core Tor/Tor]: Improve deliberate test coverage for addressmap_get_virtual_address()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue May 1 19:25:07 UTC 2018
#25993: Improve deliberate test coverage for addressmap_get_virtual_address()
-------------------------+-------------------------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.4.x-final
Component: Core | Version:
Tor/Tor | Keywords: tor-ci, tor-tests-coverage, tor-
Severity: Normal | tests-unit
Actual Points: | Parent ID: #25908
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
This function is currently tested indirectly from test_entryconn.c, but
this results in unreliable coverage for a couple of the features in this
function.
Specifically, we don't test whether duplicate addresses are rejected, or
whether IPv4 addresses ending with .0 or .255 are rejected.
This is one source of nondeterminism in our test coverage.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25993>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list