+++ /dev/null
-This tor was built with relay mode disabled.
--- /dev/null
+Nickname TooManyCharactersInThisNickname
# This nickname is too long; we won't accept it.
+# (Unless the relay module is disabled, because Nickname is a
+# relay-only option. We'll ignore all relay-only options in #32395.)
Nickname TooManyCharactersInThisNickname
+++ /dev/null
-This tor was built with relay mode disabled.
--- /dev/null
+Nickname has a space
# this nickname has spaces in it and won't work.
+# (Unless the relay module is disabled, because Nickname is a
+# relay-only option. We'll ignore all relay-only options in #32395.)
Nickname has a space
+++ /dev/null
-This tor was built with relay mode disabled.
--- /dev/null
+ContactInfo "\304\353\304\353\304\353@example.com"
+# We only accept ContactInfo in UTF-8 (or 7-bit ASCII)
+# (Unless the relay module is disabled, because ContactInfo is a
+# relay-only option. We'll ignore all relay-only options in #32395.
+# But at the moment, tor canonicalises and quotes the string.)
ContactInfo ÄëÄëÄë@example.com
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
--- /dev/null
+ExtORPort illegal_hostname_chars$()^*%(%
+ServerTransportListenAddr bad
+ServerTransportListenAddr bad2 illegal_hostname_chars$()^*%(%
+ServerTransportOptions bad
+ServerTransportOptions bad2 not_kv
+ServerTransportPlugin bad
+ServerTransportPlugin bad2 exec
+ServerTransportPlugin bad3 exec /
# Relay PT tests
# Options from relay/transport_config.c
# Bad options are also ignored
+# (Unless the relay module is disabled, because they are relay-only
+# options. We'll ignore all relay-only options in #32395.)
ExtORPort illegal_hostname_chars$()^*%(%#%)#(%*
ServerTransportPlugin bad
ServerTransportPlugin bad2 exec
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
+++ /dev/null
-This tor was built with relay mode disabled.
--- /dev/null
+ExtORPort unix:/
+ServerTransportPlugin bad3 exec /
# Relay PT tests
# Options from relay/transport_config.c
# Try an invalid config with a unix socket for ExtORPort
+# (Unless the relay module is disabled, because they are relay-only
+# options. We'll ignore all relay-only options in #32395.)
ExtORPort unix:/
ServerTransportPlugin bad3 exec /
+++ /dev/null
-This tor was built with relay mode disabled.