tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 735d5f5b7eaed14b2242d1685e0ffa92f746c70c
parent 233ccef6d878253ee4f0cfa4610577101b68e6c6
Author: teor <teor@torproject.org>
Date:   Tue, 12 Nov 2019 15:03:47 +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.

Diffstat:
Msrc/test/test_parseconf.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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.