[tor-bugs] #32374 [Core Tor/Tor]: Create a test framework for options_act*()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 5 05:05:10 UTC 2019


#32374: Create a test framework for options_act*()
-------------------------------+------------------------------------
     Reporter:  teor           |      Owner:  (none)
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:  network-team-roadmap-?
Actual Points:                 |  Parent ID:  #29211
       Points:  2              |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+------------------------------------
 It's hard to create a test framework for options_act*(), because Tor
 creates files, opens ports, and does other things.

 Here's a sketch of how we could do these tests:
 * set all filenames to a temp directory
 * DisableNetwork
 * make tor exit after options_act*()
 * run on all the existing test/conf_examples options

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


More information about the tor-bugs mailing list