[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #25993 [Core Tor/Tor]: Improve deliberate test coverage for addressmap_get_virtual_address()



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs