test/parseconf: Update conf_examples to use expected_log

Part of 32451.
This commit is contained in:
teor 2019-11-12 15:10:07 +10:00
parent c7838c71fb
commit ced434c586
72 changed files with 140 additions and 75 deletions

View File

@ -0,0 +1 @@
Read configuration file .*badnick_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*badnick_2[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*bridgeauth_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*contactinfo_notutf8[./]*torrc

View File

@ -0,0 +1 @@
Unable to load dynamic OpenSSL engine "nonexistent_chartreuse_accelerator"

View File

@ -0,0 +1,2 @@
AccelName nonexistent_chartreuse_accelerator
HardwareAccel 1

View File

@ -0,0 +1 @@
Tor 0.* running on .* with Libevent .*, NSS .*, Zlib .*, Liblzma .*, and Libzstd .*

View File

@ -0,0 +1 @@
Read configuration file .*dirauth_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*empty_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*empty_2[./]*torrc\.defaults

View File

@ -0,0 +1 @@
Included configuration .*directory at recursion level 1.*included

View File

@ -0,0 +1 @@
Read configuration file .*example_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*example_3[./]*torrc

View File

@ -0,0 +1 @@
Included configuration file .*at recursion level 2.*nested\.inc

View File

@ -0,0 +1 @@
Included configuration .*directory at recursion level 1.*included

View File

@ -0,0 +1 @@
Your log may contain sensitive information

View 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

View File

View File

@ -0,0 +1 @@
Tor 0.* running on .* with Libevent .*, NSS .*, Zlib .*, Liblzma .*, and Libzstd .*

View 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

View File

@ -0,0 +1 @@
Skipping obsolete configuration option

View File

@ -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

View File

@ -0,0 +1 @@
Read configuration file .*obsolete_2[./]*torrc

View File

@ -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 ""

View File

@ -0,0 +1 @@
Skipping obsolete configuration option "AllowDotExit"

View 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

View File

@ -0,0 +1 @@
Read configuration file .*ops_1[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*ops_2[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*ops_3[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*ops_4[./]*torrc\.defaults

View File

@ -0,0 +1 @@
Read configuration file .*ops_5[./]*torrc\.defaults

View File

@ -0,0 +1 @@
Read configuration file .*ops_6[./]*torrc\.defaults

View File

@ -0,0 +1 @@
Linelist option 'ExtORPort' has no value\. Skipping

View File

@ -0,0 +1 @@
Read configuration file .*pt_02[./]*torrc

View File

@ -0,0 +1 @@
We use pluggable transports but the Extended ORPort is disabled

View File

@ -0,0 +1 @@
Read configuration file .*pt_03[./]*torrc

View File

@ -0,0 +1 @@
ServerTransportPlugin bad3 exec /

View File

@ -0,0 +1 @@
Tor is not configured as a relay but you specified a ServerTransportPlugin line.*The ServerTransportPlugin line will be ignored

View File

@ -0,0 +1 @@
Read configuration file .*pt_04[./]*torrc

View File

@ -0,0 +1,3 @@
ExtORPortCookieAuthFile /
ExtORPort 1
ServerTransportPlugin bad3 exec /

View File

@ -0,0 +1 @@
Your ContactInfo config option is not set

View File

@ -0,0 +1 @@
Tor is not configured as a relay but you specified a ServerTransportPlugin line.*The ServerTransportPlugin line will be ignored

View File

@ -0,0 +1 @@
Read configuration file .*pt_06[./]*torrc

View File

@ -0,0 +1,6 @@
ExtORPortCookieAuthFile /
ExtORPortCookieAuthFileGroupReadable 1
ExtORPort 1
ServerTransportListenAddr bad3 127.0.0.1:2
ServerTransportOptions bad3 a=b
ServerTransportPlugin bad3 exec /

View File

@ -0,0 +1 @@
You specified a public address .* for ExtORPort

View File

@ -0,0 +1 @@
Read configuration file .*pt_08[./]*torrc

View File

@ -0,0 +1 @@
Linelist option 'ORPort' has no value\. Skipping

View File

@ -0,0 +1 @@
Read configuration file .*relay_03[./]*torrc

View File

@ -0,0 +1 @@
Your ContactInfo config option is not set

View File

@ -0,0 +1 @@
Read configuration file .*relay_05[./]*torrc

View File

@ -0,0 +1 @@
Read configuration file .*relay_06[./]*torrc

View File

@ -0,0 +1 @@
DirCache is disabled and we are configured as a relay

View File

@ -0,0 +1 @@
Read configuration file .*relay_08[./]*torrc

View File

@ -0,0 +1 @@
By default, Tor does not run as an exit relay

View File

@ -0,0 +1 @@
Can't set a DirPort on a bridge relay

View File

@ -0,0 +1 @@
Read configuration file .*relay_14[./]*torrc

View File

@ -0,0 +1 @@
You have set AccountingMax to use hibernation

View File

@ -0,0 +1 @@
Read configuration file .*relay_19[./]*torrc

View File

@ -0,0 +1 @@
PublishServerDescriptor v1 has no effect

View File

@ -0,0 +1 @@
Linelist option 'MyFamily' has no value\. Skipping