[tor-bugs] #17076 [Tor]: Improve coverage on src/or/config.c (options_validate)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 28 22:17:13 UTC 2016


#17076: Improve coverage on src/or/config.c (options_validate)
----------------------------------+------------------------------------
 Reporter:  rjunior               |          Owner:
     Type:  enhancement           |         Status:  reopened
 Priority:  Medium                |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor                   |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  testing, 028-triaged  |  Actual Points:
Parent ID:                        |         Points:  small
  Sponsor:  SponsorS              |
----------------------------------+------------------------------------

Comment (by teor):

 Please see the commit "Add mock_saved_log_position to unit tests" for an
 order-independent check for a log message.

 The following commit "Add unit tests for ClientUseIPv[4,6] and
 ClientPreferIPv6[OR,Dir]Port" provides examples of using that function to
 search for a log message.

 It would be great if we could search the entire log for log messages in
 the rest of the unit tests, rather than expecting them in particular
 positions.

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


More information about the tor-bugs mailing list