Add a few error test cases

This commit is contained in:
Nick Mathewson 2019-09-13 17:10:15 -04:00
parent 80e858e3e6
commit 617679df42
8 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1 @@
nicknames must be between 1 and 19 characters inclusive

View File

@ -0,0 +1,2 @@
# This nickname is too long; we won't accept it.
Nickname TooManyCharactersInThisNickname

View File

@ -0,0 +1 @@
must contain only the characters \[a-zA-Z0-9\]

View File

@ -0,0 +1,2 @@
# this nickname has spaces in it and won't work.
Nickname has a space

View File

@ -0,0 +1 @@
ContactInfo config option must be UTF-8

View File

@ -0,0 +1 @@
ContactInfo ÄëÄëÄë@example.com

View File

@ -0,0 +1 @@
RunAsDaemon is not compatible with relative paths.

View File

@ -0,0 +1,4 @@
# Relative-path data directories are incompatible with RunAsDaemon
DataDirectory ./datadir
RunAsDaemon 1