From: Tim Beale Date: Tue, 12 Mar 2019 01:04:21 +0000 (+1300) Subject: selftest: Use new helper function for client's smb.conf IP X-Git-Tag: talloc-2.2.0~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ebdc31a5f396d4bc399539037daa8e713fe726;p=thirdparty%2Fsamba.git selftest: Use new helper function for client's smb.conf IP This has the side-effect of giving the client an IPv6 address, which it hasn't had up until now. But it at least makes the client and server interfaces settings consistent, and gets rid of a hard-coded IP address. Signed-off-by: Tim Beale Reviewed-by: Andrew Bartlett --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 37e288e456f..919a9d50177 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -511,7 +511,7 @@ foreach (@opt_include) { push (@includes, read_test_regexes($_)); } -my $interfaces = "127.0.0.11/8"; +my $interfaces = Samba::get_interfaces_config("client"); my $clientdir = "$prefix_abs/client";