Opened 5 weeks ago

#32374 new enhancement

Create a test framework for options_act*()

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: network-team-roadmap-?
Cc: nickm 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

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.