Opened 4 years ago

Closed 2 months ago

#20061 closed defect (wontfix)

When unit testing in Tor2web mode, set the config correctly

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor2web, easy, intro, testing, unit-tests
Cc: Actual Points:
Parent ID: Points: 0.5
Reviewer: Sponsor:


When I compile with --enable-tor2web-mode, then run the unit tests, I get the following error:

$ make test
/Applications/  all-am
Sep 05 15:34:15.560 [err] This copy of Tor was compiled to run in 'tor2web mode'. It can only be run with the Tor2webMode torrc option enabled.
Sep 05 15:34:15.561 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor )
make: *** [test] Error 1

In the unit test harness, we should set options->Tor2webMode when compiled in Tor2web mode.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:2 Changed 4 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:3 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:4 Changed 3 years ago by nickm

Keywords: testing unit-tests added

comment:5 Changed 2 months ago by nickm

Resolution: wontfix
Status: newclosed

Tor2web mode is no longer a thing.

Note: See TracTickets for help on using tickets.