Mock tor_addr_lookup() during part of addr/basic test.

If this function isn't mocked, then our unit tests break on stupid
networks where localhost is broken or absent. Fixes bug 6298; bugfix
on 0.0.9pre2.
This commit is contained in:
Nick Mathewson
2017-05-26 13:53:32 -04:00
parent 5742e4fd8e
commit 159a8061cf
2 changed files with 27 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (unit tests):
- The unit tests now pass on systems where localhost is misconfigured
to some IPv4 address other than 127.0.0.1. Fixes bug 6298;
bugfix on 0.0.9pre2.