aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_parseconf.sh
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-12 15:03:47 +1000
committerteor <teor@torproject.org>2019-11-14 10:55:21 +1000
commit735d5f5b7eaed14b2242d1685e0ffa92f746c70c (patch)
tree145a1d91060ba5132a53ae6c6fd8a029632b3cb3 /src/test/test_parseconf.sh
parent233ccef6d878253ee4f0cfa4610577101b68e6c6 (diff)
downloadtor-735d5f5b7eaed14b2242d1685e0ffa92f746c70c.tar.gz
tor-735d5f5b7eaed14b2242d1685e0ffa92f746c70c.zip
test/parseconf: Split the file list into sections
There are lots of different files now, so having Config and Result sections is helpful. Part of 32451.
Diffstat (limited to 'src/test/test_parseconf.sh')
-rwxr-xr-xsrc/test/test_parseconf.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index 8d41438b2e..83631cb4c4 100755
--- a/src/test/test_parseconf.sh
+++ b/src/test/test_parseconf.sh
@@ -17,6 +17,8 @@
# This script looks for its test cases as individual directories in
# src/test/conf_examples/. Each test may have these files:
#
+# Configuration Files
+#
# torrc -- Usually needed. This file is passed to Tor on the command line
# with the "-f" flag. (If you omit it, you'll test Tor's behavior when
# it receives a nonexistent configuration file.)
@@ -33,6 +35,8 @@
# included. Include paths should be specified relative to the test case
# directory.
#
+# Result Files
+#
# 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.