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/conf_examples/3/cmdline | |
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/conf_examples/3/cmdline')
-rw-r--r-- | src/test/conf_examples/3/cmdline | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/conf_examples/3/cmdline b/src/test/conf_examples/3/cmdline new file mode 100644 index 0000000000..5b2fadcebb --- /dev/null +++ b/src/test/conf_examples/3/cmdline @@ -0,0 +1 @@ +--socksport 99 |