test/parseconf: Add basic dirauth and bridgeauth tests

Part of 32123.
This commit is contained in:
teor 2019-10-18 16:00:02 +10:00
parent 0501ce9f13
commit b266a804e9
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
8 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,7 @@
Address 198.51.100.123
AuthoritativeDirectory 1
BridgeAuthoritativeDir 1
ContactInfo tor_parse_test@example.com
DirPort 80
Nickname Unnamed
ORPort 443

View File

@ -0,0 +1,7 @@
Address 198.51.100.123
AuthoritativeDirectory 1
BridgeAuthoritativeDir 1
ContactInfo tor_parse_test@example.com
DirPort 80
Nickname Unnamed
ORPort 443

View File

@ -0,0 +1,6 @@
Address 198.51.100.123
AuthoritativeDirectory 1
BridgeAuthoritativeDir 1
ContactInfo tor_parse_test@example.com
DirPort 80
ORPort 443

View File

@ -0,0 +1,8 @@
AuthoritativeDirectory 1
BridgeAuthoritativeDir 1
ContactInfo tor_parse_test@example.com
Address 198.51.100.123
ORPort 443
DirPort 80

View File

@ -0,0 +1,8 @@
Address 192.0.2.1
AuthoritativeDirectory 1
ContactInfo tor_parse_test@example.net
DirPort 9030
DownloadExtraInfo 1
Nickname Unnamed
ORPort 9001
V3AuthoritativeDirectory 1

View File

@ -0,0 +1,7 @@
Address 192.0.2.1
AuthoritativeDirectory 1
ContactInfo tor_parse_test@example.net
DirPort 9030
Nickname Unnamed
ORPort 9001
V3AuthoritativeDirectory 1

View File

@ -0,0 +1,6 @@
Address 192.0.2.1
AuthoritativeDirectory 1
ContactInfo tor_parse_test@example.net
DirPort 9030
ORPort 9001
V3AuthoritativeDirectory 1

View File

@ -0,0 +1,8 @@
AuthoritativeDirectory 1
V3AuthoritativeDirectory 1
ContactInfo tor_parse_test@example.net
Address 192.0.2.1
ORPort 9001
DirPort 9030