[tor-bugs] #12207 [Tor]: Improve unittest coverage of entrynodes.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 4 18:56:09 UTC 2014


#12207: Improve unittest coverage of entrynodes.c
----------------------------------+---------------------
 Reporter:  asn                   |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  Tor                   |        Version:
 Keywords:  tor-client tor-guard  |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 `entrynodes.c` is not very well tested unfortunately. Only 2% of it is.

 As part of the #11480 adventures, we should aim to write some more unit
 tests.

 I'm planning to try to write at least unit tests for
 `choose_random_entry_impl()`, which is one of the stars of `entrynodes.c`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12207>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list