Daniel P. Berrangé f58bcb80b2 tests: don't assume "localhost" only resolves to 1/2 IPs
On Debian derived distros "localhost" can resolve to the normal
"127.0.0.1" and "::1", but it can also resolve to "127.0.1.1"

Rewrite the code so that it doesn't assume a fixed number of IPs.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-07-15 17:39:39 +01:00
..
2019-07-09 10:27:19 +02:00
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2019-07-09 10:27:19 +02:00
2019-02-12 10:14:53 +01:00