aboutsummaryrefslogtreecommitdiff
path: root/src/test/conf_examples/3/cmdline
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/conf_examples/3/cmdline
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/conf_examples/3/cmdline')
-rw-r--r--src/test/conf_examples/3/cmdline1
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