Opened 2 months ago

Last modified 2 months ago

#32396 new enhancement

Add state file support to test_parseconf.sh

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: 1
Reviewer: Sponsor: Sponsor31-can

Description

Currently, test_parseconf.sh reads options from the cmdline file, default options file, and torrc.

I'd also like to see state file support.

This ticket is not a high priority, unless we refactor a lot of state code.

Child Tickets

Change History (2)

comment:1 Changed 2 months ago by nickm

test_parseconf relies on --validate-config and --dump-config, neither of which exists for state; we'd need to implement them, I suppose.

comment:2 Changed 2 months ago by teor

I was hoping to have an option that parses and dumps config and state at the same time. There are lots of interactions between state and config.

So in that case, we'd need to allow --verify-config --verify-state and --dump-config --dump-state?

(The standard state paths should be enough if we set a DataDir. So we won't need more options to set state paths.)

Note: See TracTickets for help on using tickets.