[tor-commits] [tor/master] test/parseconf: Split the file list into sections

nickm at torproject.org nickm at torproject.org
Thu Nov 14 14:58:57 UTC 2019


commit 735d5f5b7eaed14b2242d1685e0ffa92f746c70c
Author: teor <teor at torproject.org>
Date:   Tue Nov 12 15:03:47 2019 +1000

    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.
---
 src/test/test_parseconf.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index 8d41438b2..83631cb4c 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.





More information about the tor-commits mailing list