diff options
author | teor <teor2345@gmail.com> | 2015-04-15 19:02:29 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2015-04-23 00:16:04 +1000 |
commit | d68bbb0a2939927eef221d8f9543a016f2c88245 (patch) | |
tree | eee627ea44c60698713868d85d54cc925a3b06df /changes | |
parent | 027f73f70ef49859d5c6b7dc2a231b3f78dafd10 (diff) | |
download | tor-d68bbb0a2939927eef221d8f9543a016f2c88245.tar.gz tor-d68bbb0a2939927eef221d8f9543a016f2c88245.zip |
Unit tests for consider_adding_dir_servers() as modified in #15642
Unit tests for the 10 valid combinations of set/NULL config options
DirAuthorities, AlternateBridgeAuthority, AlternateDirAuthority,
and FallbackDir.
Add assertion in consider_adding_dir_servers() for checks in
validate_dir_servers():
"You cannot set both DirAuthority and Alternate*Authority."
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug-15642-default-fallback-default-dirs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/changes/bug-15642-default-fallback-default-dirs b/changes/bug-15642-default-fallback-default-dirs index 3864cf373c..a1e194bf1e 100644 --- a/changes/bug-15642-default-fallback-default-dirs +++ b/changes/bug-15642-default-fallback-default-dirs @@ -1,8 +1,10 @@ - o Minor bugfixes (configuration): + o Minor bugfixes (configuration, unit tests): - Only add the default fallback directories when the DirAuthorities, AlternateDirAuthority, and FallbackDir directory config options are set to their defaults. - The default fallback directory list is empty, this fix will only - change tor's behaviour when it has default fallback directories. + The default fallback directory list is currently empty, this fix + will only change tor's behaviour when it has default fallback + directories. + Includes unit tests for consider_adding_dir_servers(). Fixes bug 15642; bugfix on 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor". |