Adjust stubdb2 to allow for NetBSD oddity
commitf369e81705c3b62b4fe3841fef9bf709bfc0510a
authorOlly Betts <olly@survex.com>
Thu, 4 Oct 2018 06:43:49 +0000 (4 19:43 +1300)
committerOlly Betts <olly@survex.com>
Thu, 4 Oct 2018 07:10:15 +0000 (4 20:10 +1300)
tree8d8a2f26de59104d273d2cee641724333f0881f6
parent06c1552e44f630b7bdb26cefb9c4ffaffc47846d
Adjust stubdb2 to allow for NetBSD oddity

NetBSD's getaddrinfo() in IPv4 mode seems to resolve ::1 to an IPv4
address on the local network.  For now, just adjust the testcase
to allow for this.

(cherry picked from commit 671b95ad18839e403cf37b18664ae9dc44cd19d6)
xapian-core/tests/api_db.cc