When unit testing in Tor2web mode, set the config correctly
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.