summaryrefslogtreecommitdiff
path: root/changes/bug17632-no-ipv4-no-localhost
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-11-18 23:25:21 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-11-18 23:25:21 +1100
commit86eba14ac5495cb031669b7e495d5e85653535f2 (patch)
treebbc195016f91d4afc8b66b7e4a2fc259ef20b74a /changes/bug17632-no-ipv4-no-localhost
parent7a940fac1c7f0ff81f58ed26350fed57e26b2642 (diff)
downloadtor-86eba14ac5495cb031669b7e495d5e85653535f2.tar.gz
tor-86eba14ac5495cb031669b7e495d5e85653535f2.zip
Fix unit tests on systems without IPv4 or localhost addresses
Make unit tests pass on IPv6-only systems, and systems without localhost addresses (like some FreeBSD jails). Fixes: * get_if_addrs_ifaddrs: systems without localhost * get_if_addrs_ioctl: only works on IPv4 systems * socket: check IPv4 and IPv6, skip on EPROTONOSUPPORT * socketpair_ersatz: uses IPv4, skip on EPROTONOSUPPORT Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc. c464a367728d was a partial fix for this issue in #17255; it was released in unit tests in 0.2.7.4-rc. Patch by "teor".
Diffstat (limited to 'changes/bug17632-no-ipv4-no-localhost')
-rw-r--r--changes/bug17632-no-ipv4-no-localhost7
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug17632-no-ipv4-no-localhost b/changes/bug17632-no-ipv4-no-localhost
new file mode 100644
index 0000000000..04622079d3
--- /dev/null
+++ b/changes/bug17632-no-ipv4-no-localhost
@@ -0,0 +1,7 @@
+ o Minor bugfix (unit tests):
+ - Make unit tests pass on IPv6-only systems, and systems without
+ localhost addresses (like some FreeBSD jails).
+ Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc.
+ c464a367728d was a partial fix for this issue in #17255;
+ it was released in unit tests in 0.2.7.4-rc.
+ Patch by "teor".