diff options
author | teor <teor@torproject.org> | 2019-11-01 14:29:04 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 11:12:59 +1000 |
commit | 7504711510bba284e19fd53e5df27ed06edc3e1a (patch) | |
tree | 8f8b6d188c29a1ea8c4d7fe27d1c893b1e3fff88 /src/test/conf_examples/relay_23 | |
parent | 6d52b5ce910c31962e16b654426b923a43f38201 (diff) | |
download | tor-7504711510bba284e19fd53e5df27ed06edc3e1a.tar.gz tor-7504711510bba284e19fd53e5df27ed06edc3e1a.zip |
test/parseconf: Add conf_examples for relays
Tests relay/relay_config.c.
Part of 32213.
Diffstat (limited to 'src/test/conf_examples/relay_23')
-rw-r--r-- | src/test/conf_examples/relay_23/error | 1 | ||||
-rw-r--r-- | src/test/conf_examples/relay_23/error_no_dirauth_relay | 1 | ||||
-rw-r--r-- | src/test/conf_examples/relay_23/torrc | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/test/conf_examples/relay_23/error b/src/test/conf_examples/relay_23/error new file mode 100644 index 0000000000..f76bbe77c4 --- /dev/null +++ b/src/test/conf_examples/relay_23/error @@ -0,0 +1 @@ +Relays must use 'auto' for the ConnectionPadding setting diff --git a/src/test/conf_examples/relay_23/error_no_dirauth_relay b/src/test/conf_examples/relay_23/error_no_dirauth_relay new file mode 100644 index 0000000000..9f9c0fd8f3 --- /dev/null +++ b/src/test/conf_examples/relay_23/error_no_dirauth_relay @@ -0,0 +1 @@ +This tor was built with relay mode disabled. diff --git a/src/test/conf_examples/relay_23/torrc b/src/test/conf_examples/relay_23/torrc new file mode 100644 index 0000000000..3d28a1e27c --- /dev/null +++ b/src/test/conf_examples/relay_23/torrc @@ -0,0 +1,5 @@ +# Relay tests +# Options from relay/relay_config.c +# Relays can't set ConnectionPadding +ORPort 1 +ConnectionPadding 1 |