summaryrefslogtreecommitdiff
path: root/src/test/test_routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-11 14:50:06 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-14 19:00:41 -0400
commit7c7e8402b599515846cbb77ab4cbb5520f8463d8 (patch)
treed00a7d874775c4921a7bf3a3f2c9db357d048503 /src/test/test_routerlist.c
parent41261c3b5cd505f5a601c319eb484866903814af (diff)
downloadtor-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