selftest: Restore IPs 12-16 for selftest client
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 18 Mar 2019 04:55:39 +0000 (17:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Mar 2019 13:31:27 +0000 (13:31 +0000)
commita4d433aede8e08c1fec91ddb9ee7754275a13437
treeca288440d9f650c6fbfafa8594608a3db0b5dd72
parent3e1d8ab1255f1797a1803494b6333dc7990e0795
selftest: Restore IPs 12-16 for selftest client

The assumption that tests only used the .11 IP was wrong. The
winsreplication test tries to use multiple different IPs - CI doesn't
fail when we remove the additional IPs, but it starts to skip test
cases.

+ Update get_interfaces_config() and get_ipv4_addr() so we can add
multiple different IPs for the same host.
+ Update selftest.pl so the client gets 6 IP addresses.
+ Update comments to better reflect this dependency.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/selftest.pl
selftest/target/Samba.pm