[tor-dev] Testing in Tor [was Re: Brainstorming a Tor censorship analysis tool]

Simon simonhf at gmail.com
Thu Dec 20 20:06:48 UTC 2012


On Thu, Dec 20, 2012 at 11:48 AM, Damian Johnson <atagar at torproject.org> wrote:
>> Is that a bug that it says 'TESTING PASSED' even though it failed to
>> start Tor? Is the permission denied error because I need to be root to
>> run the tests? If so, how to change the tests so that being root isn't
>> necessary?
>
> Yea, saying 'PASSED' rather than 'FAILED' would be a bug.
>
> No, the tests definitely don't need to be ran as root. Did you clone
> stem as root? It expects to be able to make a data directory within
> the test directory.

It looks like the data directory was created as expected:

$ find test/data/
test/data/
test/data/log
test/data/torrc

Unfortunately ./run_tests.py --help isn't telling me about e.g. a
verbosity level option to help give more of a clue as to what is going
wrong :-(

Any more ideas?

--
Simon


More information about the tor-dev mailing list