mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Add a few error test cases
This commit is contained in:
parent
80e858e3e6
commit
617679df42
1
src/test/conf_examples/badnick_1/error
Normal file
1
src/test/conf_examples/badnick_1/error
Normal file
@ -0,0 +1 @@
|
||||
nicknames must be between 1 and 19 characters inclusive
|
2
src/test/conf_examples/badnick_1/torrc
Normal file
2
src/test/conf_examples/badnick_1/torrc
Normal file
@ -0,0 +1,2 @@
|
||||
# This nickname is too long; we won't accept it.
|
||||
Nickname TooManyCharactersInThisNickname
|
1
src/test/conf_examples/badnick_2/error
Normal file
1
src/test/conf_examples/badnick_2/error
Normal file
@ -0,0 +1 @@
|
||||
must contain only the characters \[a-zA-Z0-9\]
|
2
src/test/conf_examples/badnick_2/torrc
Normal file
2
src/test/conf_examples/badnick_2/torrc
Normal file
@ -0,0 +1,2 @@
|
||||
# this nickname has spaces in it and won't work.
|
||||
Nickname has a space
|
1
src/test/conf_examples/contactinfo_notutf8/error
Normal file
1
src/test/conf_examples/contactinfo_notutf8/error
Normal file
@ -0,0 +1 @@
|
||||
ContactInfo config option must be UTF-8
|
1
src/test/conf_examples/contactinfo_notutf8/torrc
Normal file
1
src/test/conf_examples/contactinfo_notutf8/torrc
Normal file
@ -0,0 +1 @@
|
||||
ContactInfo ÄëÄëÄë@example.com
|
1
src/test/conf_examples/relpath_rad/error
Normal file
1
src/test/conf_examples/relpath_rad/error
Normal file
@ -0,0 +1 @@
|
||||
RunAsDaemon is not compatible with relative paths.
|
4
src/test/conf_examples/relpath_rad/torrc
Normal file
4
src/test/conf_examples/relpath_rad/torrc
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
# Relative-path data directories are incompatible with RunAsDaemon
|
||||
DataDirectory ./datadir
|
||||
RunAsDaemon 1
|
Loading…
Reference in New Issue
Block a user