[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #20061 [Core Tor/Tor]: When unit testing in Tor2web mode, set the config correctly
#20061: When unit testing in Tor2web mode, set the config correctly
------------------------------+----------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: tor2web, easy, intro
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/Xcode.app/Contents/Developer/usr/bin/make all-am
./src/test/test
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 0.2.9.2-alpha-dev )
make: *** [test] Error 1
}}}
In the unit test harness, we should set options->Tor2webMode when compiled
in Tor2web mode.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20061>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs