mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
test/parseconf: Update conf_examples to use expected_log
Part of 32451.
This commit is contained in:
parent
c7838c71fb
commit
ced434c586
@ -0,0 +1 @@
|
||||
Read configuration file .*badnick_1[./]*torrc
|
@ -0,0 +1 @@
|
||||
Read configuration file .*badnick_2[./]*torrc
|
1
src/test/conf_examples/bridgeauth_1/expected_log
Normal file
1
src/test/conf_examples/bridgeauth_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*bridgeauth_1[./]*torrc
|
@ -0,0 +1 @@
|
||||
Read configuration file .*contactinfo_notutf8[./]*torrc
|
1
src/test/conf_examples/crypto_accel/expected_log
Normal file
1
src/test/conf_examples/crypto_accel/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Unable to load dynamic OpenSSL engine "nonexistent_chartreuse_accelerator"
|
2
src/test/conf_examples/crypto_accel/expected_nss
Normal file
2
src/test/conf_examples/crypto_accel/expected_nss
Normal file
@ -0,0 +1,2 @@
|
||||
AccelName nonexistent_chartreuse_accelerator
|
||||
HardwareAccel 1
|
1
src/test/conf_examples/crypto_accel_req/expected_log_nss
Normal file
1
src/test/conf_examples/crypto_accel_req/expected_log_nss
Normal file
@ -0,0 +1 @@
|
||||
Tor 0.* running on .* with Libevent .*, NSS .*, Zlib .*, Liblzma .*, and Libzstd .*
|
1
src/test/conf_examples/dirauth_1/expected_log
Normal file
1
src/test/conf_examples/dirauth_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*dirauth_1[./]*torrc
|
1
src/test/conf_examples/empty_1/expected_log
Normal file
1
src/test/conf_examples/empty_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*empty_1[./]*torrc
|
1
src/test/conf_examples/empty_2/expected_log
Normal file
1
src/test/conf_examples/empty_2/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*empty_2[./]*torrc\.defaults
|
1
src/test/conf_examples/empty_3/expected_log
Normal file
1
src/test/conf_examples/empty_3/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Included configuration .*directory at recursion level 1.*included
|
1
src/test/conf_examples/example_1/expected_log
Normal file
1
src/test/conf_examples/example_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*example_1[./]*torrc
|
1
src/test/conf_examples/example_3/expected_log
Normal file
1
src/test/conf_examples/example_3/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*example_3[./]*torrc
|
1
src/test/conf_examples/include_1/expected_log
Normal file
1
src/test/conf_examples/include_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Included configuration file .*at recursion level 2.*nested\.inc
|
1
src/test/conf_examples/include_bug_31408/expected_log
Normal file
1
src/test/conf_examples/include_bug_31408/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Included configuration .*directory at recursion level 1.*included
|
1
src/test/conf_examples/large_1/expected_log
Normal file
1
src/test/conf_examples/large_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Your log may contain sensitive information
|
0
src/test/conf_examples/lzma_zstd_1/expected
Normal file
0
src/test/conf_examples/lzma_zstd_1/expected
Normal file
0
src/test/conf_examples/lzma_zstd_1/expected_lzma
Normal file
0
src/test/conf_examples/lzma_zstd_1/expected_lzma
Normal file
0
src/test/conf_examples/lzma_zstd_1/expected_zstd
Normal file
0
src/test/conf_examples/lzma_zstd_1/expected_zstd
Normal file
@ -1,4 +1 @@
|
||||
# Deliberately bad options, to cause an error message
|
||||
# But this test actually checks for the optional library list in tor's logs,
|
||||
# not the error message
|
||||
bad bad bad
|
||||
# This test checks for the optional library list in tor's logs
|
||||
|
0
src/test/conf_examples/nss_1/expected
Normal file
0
src/test/conf_examples/nss_1/expected
Normal file
1
src/test/conf_examples/nss_1/expected_log_nss
Normal file
1
src/test/conf_examples/nss_1/expected_log_nss
Normal file
@ -0,0 +1 @@
|
||||
Tor 0.* running on .* with Libevent .*, NSS .*, Zlib .*, Liblzma .*, and Libzstd .*
|
0
src/test/conf_examples/nss_1/expected_nss
Normal file
0
src/test/conf_examples/nss_1/expected_nss
Normal file
@ -1,4 +1 @@
|
||||
# Deliberately bad options, to cause an error message
|
||||
# But this test actually checks for the optional library list in tor's logs,
|
||||
# not the error message
|
||||
bad bad bad
|
||||
# This test checks for the optional library list in tor's logs
|
||||
|
1
src/test/conf_examples/obsolete_1/expected_log
Normal file
1
src/test/conf_examples/obsolete_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Skipping obsolete configuration option
|
@ -1,68 +1,70 @@
|
||||
# These options are obsolete as of 0.4.2
|
||||
AllowDotExit
|
||||
AllowInvalidNodes
|
||||
AllowSingleHopCircuits
|
||||
AllowSingleHopExits
|
||||
AlternateHSAuthority
|
||||
AuthDirBadDir
|
||||
AuthDirBadDirCCs
|
||||
AuthDirRejectUnlisted
|
||||
AuthDirListBadDirs
|
||||
AuthDirMaxServersPerAuthAddr
|
||||
CircuitIdleTimeout
|
||||
ControlListenAddress
|
||||
DirListenAddress
|
||||
DisableIOCP
|
||||
DisableV2DirectoryInfo_
|
||||
DynamicDHGroups
|
||||
DNSListenAddress
|
||||
TestingEnableTbEmptyEvent
|
||||
ExcludeSingleHopRelays
|
||||
FallbackNetworkstatusFile
|
||||
FastFirstHopPK
|
||||
FetchV2Networkstatus
|
||||
Group
|
||||
HidServDirectoryV2
|
||||
CloseHSClientCircuitsImmediatelyOnTimeout
|
||||
CloseHSServiceRendCircuitsImmediatelyOnTimeout
|
||||
MaxOnionsPending
|
||||
NamingAuthoritativeDirectory
|
||||
NATDListenAddress
|
||||
PredictedPortsRelevanceTime
|
||||
WarnUnsafeSocks
|
||||
ORListenAddress
|
||||
PathBiasDisableRate
|
||||
PathBiasScaleFactor
|
||||
PathBiasMultFactor
|
||||
PathBiasUseCloseCounts
|
||||
PortForwarding
|
||||
PortForwardingHelper
|
||||
PreferTunneledDirConns
|
||||
RecommendedPackages
|
||||
RunTesting
|
||||
SchedulerLowWaterMark__
|
||||
SchedulerHighWaterMark__
|
||||
SchedulerMaxFlushCells__
|
||||
SocksListenAddress
|
||||
StrictEntryNodes
|
||||
StrictExitNodes
|
||||
Support022HiddenServices
|
||||
Tor2webMode
|
||||
Tor2webRendezvousPoints
|
||||
TLSECGroup
|
||||
TransListenAddress
|
||||
TunnelDirConns
|
||||
UseEntryGuardsAsDirGuards
|
||||
UseNTorHandshake
|
||||
UserspaceIOCPBuffers
|
||||
V1AuthoritativeDirectory
|
||||
V2AuthoritativeDirectory
|
||||
VoteOnHidServDirectoriesV2
|
||||
UseFilteringSSLBufferevents
|
||||
__UseFilteringSSLBufferevents
|
||||
TestingConsensusMaxDownloadTries
|
||||
ClientBootstrapConsensusMaxDownloadTries
|
||||
ClientBootstrapConsensusAuthorityOnlyMaxDownloadTries
|
||||
TestingDescriptorMaxDownloadTries
|
||||
TestingMicrodescMaxDownloadTries
|
||||
TestingCertMaxDownloadTries
|
||||
# Obsolete options without arguments, or with an empty argument,
|
||||
# are silently ignored. So we give each one of these options an argument.
|
||||
AllowDotExit 1
|
||||
AllowInvalidNodes 1
|
||||
AllowSingleHopCircuits 1
|
||||
AllowSingleHopExits 1
|
||||
AlternateHSAuthority 1
|
||||
AuthDirBadDir 1
|
||||
AuthDirBadDirCCs 1
|
||||
AuthDirRejectUnlisted 1
|
||||
AuthDirListBadDirs 1
|
||||
AuthDirMaxServersPerAuthAddr 1
|
||||
CircuitIdleTimeout 1
|
||||
ControlListenAddress 1
|
||||
DirListenAddress 1
|
||||
DisableIOCP 1
|
||||
DisableV2DirectoryInfo_ 1
|
||||
DynamicDHGroups 1
|
||||
DNSListenAddress 1
|
||||
TestingEnableTbEmptyEvent 1
|
||||
ExcludeSingleHopRelays 1
|
||||
FallbackNetworkstatusFile 1
|
||||
FastFirstHopPK 1
|
||||
FetchV2Networkstatus 1
|
||||
Group 1
|
||||
HidServDirectoryV2 1
|
||||
CloseHSClientCircuitsImmediatelyOnTimeout 1
|
||||
CloseHSServiceRendCircuitsImmediatelyOnTimeout 1
|
||||
MaxOnionsPending 1
|
||||
NamingAuthoritativeDirectory 1
|
||||
NATDListenAddress 1
|
||||
PredictedPortsRelevanceTime 1
|
||||
WarnUnsafeSocks 1
|
||||
ORListenAddress 1
|
||||
PathBiasDisableRate 1
|
||||
PathBiasScaleFactor 1
|
||||
PathBiasMultFactor 1
|
||||
PathBiasUseCloseCounts 1
|
||||
PortForwarding 1
|
||||
PortForwardingHelper 1
|
||||
PreferTunneledDirConns 1
|
||||
RecommendedPackages 1
|
||||
RunTesting 1
|
||||
SchedulerLowWaterMark__ 1
|
||||
SchedulerHighWaterMark__ 1
|
||||
SchedulerMaxFlushCells__ 1
|
||||
SocksListenAddress 1
|
||||
StrictEntryNodes 1
|
||||
StrictExitNodes 1
|
||||
Support022HiddenServices 1
|
||||
Tor2webMode 1
|
||||
Tor2webRendezvousPoints 1
|
||||
TLSECGroup 1
|
||||
TransListenAddress 1
|
||||
TunnelDirConns 1
|
||||
UseEntryGuardsAsDirGuards 1
|
||||
UseNTorHandshake 1
|
||||
UserspaceIOCPBuffers 1
|
||||
V1AuthoritativeDirectory 1
|
||||
V2AuthoritativeDirectory 1
|
||||
VoteOnHidServDirectoriesV2 1
|
||||
UseFilteringSSLBufferevents 1
|
||||
__UseFilteringSSLBufferevents 1
|
||||
TestingConsensusMaxDownloadTries 1
|
||||
ClientBootstrapConsensusMaxDownloadTries 1
|
||||
ClientBootstrapConsensusAuthorityOnlyMaxDownloadTries 1
|
||||
TestingDescriptorMaxDownloadTries 1
|
||||
TestingMicrodescMaxDownloadTries 1
|
||||
TestingCertMaxDownloadTries 1
|
||||
|
1
src/test/conf_examples/obsolete_2/expected_log
Normal file
1
src/test/conf_examples/obsolete_2/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*obsolete_2[./]*torrc
|
@ -1,2 +1,5 @@
|
||||
# This option has been obsolete for some time
|
||||
# Obsolete options without arguments, or with an empty argument,
|
||||
# are silently ignored.
|
||||
AllowDotExit
|
||||
AllowInvalidNodes ""
|
||||
|
0
src/test/conf_examples/obsolete_3/expected
Normal file
0
src/test/conf_examples/obsolete_3/expected
Normal file
1
src/test/conf_examples/obsolete_3/expected_log
Normal file
1
src/test/conf_examples/obsolete_3/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Skipping obsolete configuration option "AllowDotExit"
|
4
src/test/conf_examples/obsolete_3/torrc
Normal file
4
src/test/conf_examples/obsolete_3/torrc
Normal file
@ -0,0 +1,4 @@
|
||||
# This option has been obsolete for some time
|
||||
# Obsolete options without arguments, or with an empty argument,
|
||||
# are silently ignored. So we give this option an argument.
|
||||
AllowDotExit 1
|
1
src/test/conf_examples/ops_1/expected_log
Normal file
1
src/test/conf_examples/ops_1/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_1[./]*torrc
|
1
src/test/conf_examples/ops_2/expected_log
Normal file
1
src/test/conf_examples/ops_2/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_2[./]*torrc
|
1
src/test/conf_examples/ops_3/expected_log
Normal file
1
src/test/conf_examples/ops_3/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_3[./]*torrc
|
1
src/test/conf_examples/ops_4/expected_log
Normal file
1
src/test/conf_examples/ops_4/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_4[./]*torrc\.defaults
|
1
src/test/conf_examples/ops_5/expected_log
Normal file
1
src/test/conf_examples/ops_5/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_5[./]*torrc\.defaults
|
1
src/test/conf_examples/ops_6/expected_log
Normal file
1
src/test/conf_examples/ops_6/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*ops_6[./]*torrc\.defaults
|
1
src/test/conf_examples/pt_01/expected_log
Normal file
1
src/test/conf_examples/pt_01/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Linelist option 'ExtORPort' has no value\. Skipping
|
@ -0,0 +1 @@
|
||||
Read configuration file .*pt_02[./]*torrc
|
1
src/test/conf_examples/pt_03/expected_log
Normal file
1
src/test/conf_examples/pt_03/expected_log
Normal file
@ -0,0 +1 @@
|
||||
We use pluggable transports but the Extended ORPort is disabled
|
@ -0,0 +1 @@
|
||||
Read configuration file .*pt_03[./]*torrc
|
1
src/test/conf_examples/pt_03/expected_no_dirauth_relay
Normal file
1
src/test/conf_examples/pt_03/expected_no_dirauth_relay
Normal file
@ -0,0 +1 @@
|
||||
ServerTransportPlugin bad3 exec /
|
1
src/test/conf_examples/pt_04/expected_log
Normal file
1
src/test/conf_examples/pt_04/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Tor is not configured as a relay but you specified a ServerTransportPlugin line.*The ServerTransportPlugin line will be ignored
|
@ -0,0 +1 @@
|
||||
Read configuration file .*pt_04[./]*torrc
|
3
src/test/conf_examples/pt_04/expected_no_dirauth_relay
Normal file
3
src/test/conf_examples/pt_04/expected_no_dirauth_relay
Normal file
@ -0,0 +1,3 @@
|
||||
ExtORPortCookieAuthFile /
|
||||
ExtORPort 1
|
||||
ServerTransportPlugin bad3 exec /
|
1
src/test/conf_examples/pt_05/expected_log
Normal file
1
src/test/conf_examples/pt_05/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Your ContactInfo config option is not set
|
1
src/test/conf_examples/pt_06/expected_log
Normal file
1
src/test/conf_examples/pt_06/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Tor is not configured as a relay but you specified a ServerTransportPlugin line.*The ServerTransportPlugin line will be ignored
|
@ -0,0 +1 @@
|
||||
Read configuration file .*pt_06[./]*torrc
|
6
src/test/conf_examples/pt_06/expected_no_dirauth_relay
Normal file
6
src/test/conf_examples/pt_06/expected_no_dirauth_relay
Normal file
@ -0,0 +1,6 @@
|
||||
ExtORPortCookieAuthFile /
|
||||
ExtORPortCookieAuthFileGroupReadable 1
|
||||
ExtORPort 1
|
||||
ServerTransportListenAddr bad3 127.0.0.1:2
|
||||
ServerTransportOptions bad3 a=b
|
||||
ServerTransportPlugin bad3 exec /
|
1
src/test/conf_examples/pt_07/expected_log
Normal file
1
src/test/conf_examples/pt_07/expected_log
Normal file
@ -0,0 +1 @@
|
||||
You specified a public address .* for ExtORPort
|
@ -0,0 +1 @@
|
||||
Read configuration file .*pt_08[./]*torrc
|
1
src/test/conf_examples/relay_01/expected_log
Normal file
1
src/test/conf_examples/relay_01/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Linelist option 'ORPort' has no value\. Skipping
|
1
src/test/conf_examples/relay_03/expected_log
Normal file
1
src/test/conf_examples/relay_03/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_03[./]*torrc
|
1
src/test/conf_examples/relay_04/expected_log
Normal file
1
src/test/conf_examples/relay_04/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Your ContactInfo config option is not set
|
1
src/test/conf_examples/relay_05/expected_log
Normal file
1
src/test/conf_examples/relay_05/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_05[./]*torrc
|
1
src/test/conf_examples/relay_06/expected_log
Normal file
1
src/test/conf_examples/relay_06/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_06[./]*torrc
|
1
src/test/conf_examples/relay_07/expected_log
Normal file
1
src/test/conf_examples/relay_07/expected_log
Normal file
@ -0,0 +1 @@
|
||||
DirCache is disabled and we are configured as a relay
|
1
src/test/conf_examples/relay_08/expected_log
Normal file
1
src/test/conf_examples/relay_08/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_08[./]*torrc
|
1
src/test/conf_examples/relay_09/expected_log
Normal file
1
src/test/conf_examples/relay_09/expected_log
Normal file
@ -0,0 +1 @@
|
||||
By default, Tor does not run as an exit relay
|
1
src/test/conf_examples/relay_10/expected_log
Normal file
1
src/test/conf_examples/relay_10/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Can't set a DirPort on a bridge relay
|
1
src/test/conf_examples/relay_14/expected_log
Normal file
1
src/test/conf_examples/relay_14/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_14[./]*torrc
|
1
src/test/conf_examples/relay_17/expected_log
Normal file
1
src/test/conf_examples/relay_17/expected_log
Normal file
@ -0,0 +1 @@
|
||||
You have set AccountingMax to use hibernation
|
1
src/test/conf_examples/relay_19/expected_log
Normal file
1
src/test/conf_examples/relay_19/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Read configuration file .*relay_19[./]*torrc
|
1
src/test/conf_examples/relay_21/expected_log
Normal file
1
src/test/conf_examples/relay_21/expected_log
Normal file
@ -0,0 +1 @@
|
||||
PublishServerDescriptor v1 has no effect
|
1
src/test/conf_examples/relay_29/expected_log
Normal file
1
src/test/conf_examples/relay_29/expected_log
Normal file
@ -0,0 +1 @@
|
||||
Linelist option 'MyFamily' has no value\. Skipping
|
Loading…
Reference in New Issue
Block a user