Make get_ifaddrs tests more tolerant of unusual network configs
commitc464a367728dcd123b9ad9bd0cf6a4a3e4397310
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 6 Oct 2015 04:32:44 +0000 (6 15:32 +1100)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Oct 2015 19:20:31 +0000 (7 15:20 -0400)
tree1e0b47f9d6d912d72be3850b05db2574bd594d5f
parent1eb838b30361b0dcc1e2b82815be25391d5a15f1
Make get_ifaddrs tests more tolerant of unusual network configs

* Don't assume that every test box has an IPv4 address
* Don't assume that every test box has a non-local address

Resolves issue #17255 released in unit tests in 0.2.7.3-rc.
changes/ifaddrs-tests-network-configs [new file with mode: 0644]
src/test/test_address.c