Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket31637: integration tests for configuration parsing #1324

Merged
merged 9 commits into from Sep 16, 2019

Conversation

Labels
None yet
Projects
None yet
2 participants
@nmathewson
Copy link
Contributor

@nmathewson nmathewson commented Sep 14, 2019

No description provided.

nmathewson added 9 commits Sep 14, 2019
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.
I'm not planning to use "example" as the name for all of them, but
these first three _are_ simple examples.
Here we use these directives to replace, extend, or clear values in
torrc.defaults and in torrc.
We need this to test includes and relative paths.
@nmathewson nmathewson mentioned this pull request Sep 14, 2019
@torproject-pusher torproject-pusher merged commit 11cf4d9 into torproject:master Sep 16, 2019
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment