Skip to content
Snippets Groups Projects
Commit 75047115 authored by teor's avatar teor
Browse files

test/parseconf: Add conf_examples for relays

Tests relay/relay_config.c.

Part of 32213.
parent 6d52b5ce
No related branches found
No related tags found
No related merge requests found
Showing
with 51 additions and 0 deletions
This tor was built with relay mode disabled.
# Relay tests
# Options from relay/relay_config.c
# Empty linelist values are ignored with a warning
ORPort
DirPort
Unrecognized value bad
# Relay tests
# Options from relay/relay_config.c
# Bad options are also ignored
ORPort illegal_hostname_chars$()^*%(%#%)#(%*
DirPort illegal_hostname_chars$()^*%(%#%)#(%*
DirCache bad
BridgeRelay bad
This tor was built with relay mode disabled.
DirPort 1
ORPort 0
# Relay tests
# Options from relay/relay_config.c
# DirPort, but no ORPort
ORPort 0
DirPort 1
This tor was built with relay mode disabled.
Nickname Unnamed
ORPort 1
# Relay tests
# Options from relay/relay_config.c
# Try a valid minimal config
ORPort 1
This tor was built with relay mode disabled.
DirPort 2
Nickname Unnamed
ORPort 1
# Relay tests
# Options from relay/relay_config.c
# Try a valid minimal directory mirror config
ORPort 1
DirPort 2
This tor was built with relay mode disabled.
BridgeRelay 1
Nickname Unnamed
ORPort 1
# Relay tests
# Options from relay/relay_config.c
# Try a valid minimal bridge config
ORPort 1
BridgeRelay 1
This tor was built with relay mode disabled.
DirCache 0
Nickname Unnamed
ORPort 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment