diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-11 14:50:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-14 19:00:41 -0400 |
commit | 7c7e8402b599515846cbb77ab4cbb5520f8463d8 (patch) | |
tree | d00a7d874775c4921a7bf3a3f2c9db357d048503 /src/test/test_routerlist.c | |
parent | 41261c3b5cd505f5a601c319eb484866903814af (diff) | |
download | tor-7c7e8402b599515846cbb77ab4cbb5520f8463d8.tar.gz tor-7c7e8402b599515846cbb77ab4cbb5520f8463d8.zip |
Add a test script to try parsing and encoding Tor configurations
This script takes a set of example torrcs and command-lines from
src/test/conf_examples. If a success is expected, it runs "tor
--dump-config" and compares the result with the one we expect. If a
failure is expected, it runs "tor --verify-config" and greps for the
error we expect.
Diffstat (limited to 'src/test/test_routerlist.c')
0 files changed, 0 insertions, 0 deletions