mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
test/parseconf: Add basic dirauth and bridgeauth tests
Part of 32123.
This commit is contained in:
parent
0501ce9f13
commit
b266a804e9
7
src/test/conf_examples/bridgeauth_1/expected
Normal file
7
src/test/conf_examples/bridgeauth_1/expected
Normal 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
|
7
src/test/conf_examples/bridgeauth_1/expected_no_dirauth
Normal file
7
src/test/conf_examples/bridgeauth_1/expected_no_dirauth
Normal 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
|
@ -0,0 +1,6 @@
|
||||
Address 198.51.100.123
|
||||
AuthoritativeDirectory 1
|
||||
BridgeAuthoritativeDir 1
|
||||
ContactInfo tor_parse_test@example.com
|
||||
DirPort 80
|
||||
ORPort 443
|
8
src/test/conf_examples/bridgeauth_1/torrc
Normal file
8
src/test/conf_examples/bridgeauth_1/torrc
Normal file
@ -0,0 +1,8 @@
|
||||
AuthoritativeDirectory 1
|
||||
BridgeAuthoritativeDir 1
|
||||
|
||||
ContactInfo tor_parse_test@example.com
|
||||
|
||||
Address 198.51.100.123
|
||||
ORPort 443
|
||||
DirPort 80
|
8
src/test/conf_examples/dirauth_1/expected
Normal file
8
src/test/conf_examples/dirauth_1/expected
Normal 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
|
7
src/test/conf_examples/dirauth_1/expected_no_dirauth
Normal file
7
src/test/conf_examples/dirauth_1/expected_no_dirauth
Normal 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
|
@ -0,0 +1,6 @@
|
||||
Address 192.0.2.1
|
||||
AuthoritativeDirectory 1
|
||||
ContactInfo tor_parse_test@example.net
|
||||
DirPort 9030
|
||||
ORPort 9001
|
||||
V3AuthoritativeDirectory 1
|
8
src/test/conf_examples/dirauth_1/torrc
Normal file
8
src/test/conf_examples/dirauth_1/torrc
Normal file
@ -0,0 +1,8 @@
|
||||
AuthoritativeDirectory 1
|
||||
V3AuthoritativeDirectory 1
|
||||
|
||||
ContactInfo tor_parse_test@example.net
|
||||
|
||||
Address 192.0.2.1
|
||||
ORPort 9001
|
||||
DirPort 9030
|
Loading…
Reference in New Issue
Block a user