Opened 7 months ago

Last modified 4 months ago

#32374 new enhancement

Create a test framework for options_act*()

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: 043-deferred
Cc: nickm Actual Points:
Parent ID: #29211 Points: 2
Reviewer: Sponsor:

Description

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 (4)

comment:1 Changed 4 months ago by gaba

Sponsor: Sponsor31-can

Sponsor closed. Remove from roadmap.

comment:2 Changed 4 months ago by gaba

Keywords: network-team-roadmap-? removed

comment:3 Changed 4 months ago by nickm

Keywords: 043-deferred added

All 0.4.3.x tickets without 043-must, 043-should, or 043-can are about to be deferred.

comment:4 Changed 4 months ago by nickm

Milestone: Tor: 0.4.3.x-finalTor: unspecified
Note: See TracTickets for help on using tickets.