aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_parseconf.sh
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-11 13:04:28 +1000
committerteor <teor@torproject.org>2019-11-11 13:04:28 +1000
commit2d651f4f6ad864541473f2371ed314352479ce7a (patch)
tree48db542da08a888c4c4dd2988e57da4453f315ed /src/test/test_parseconf.sh
parentf6c9ca3a1d1c29a293915612e26cdbfeb050c192 (diff)
downloadtor-2d651f4f6ad864541473f2371ed314352479ce7a.tar.gz
tor-2d651f4f6ad864541473f2371ed314352479ce7a.zip
test/parseconf: Add basic parsing tests
And document the "%include" behaviour. Closes 32450.
Diffstat (limited to 'src/test/test_parseconf.sh')
-rwxr-xr-xsrc/test/test_parseconf.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index 85a23a6a36..8d41438b2e 100755
--- a/src/test/test_parseconf.sh
+++ b/src/test/test_parseconf.sh
@@ -28,6 +28,11 @@
# cmdline -- Optional. If present, it contains command-line arguments that
# will be passed to Tor.
#
+# (included torrc files or directories) -- Optional. If present, and
+# configured in the torrc* or cmdline, these files or directories are
+# included. Include paths should be specified relative to the test case
+# directory.
+#
# expected -- If this file is present, then it should be the expected result
# of "--dump-config short" for this test case. Exactly one of
# "expected" or "error" must be present, or the test will fail.