From 6a0db03c80275c00dc0fe7aff099f9b6cc2d113e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 Jun 2010 11:02:48 +0200 Subject: selftest: use 127.0.0.11-16 for the client This gives more room for servers. Note: socket_wrapper currently only supports 127.0.0.1-16 see MAX_WRAPPED_INTERFACES. metze --- selftest/selftest.pl | 14 +++++++------- selftest/target/Samba4.pm | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 668afbe653..b0296e1525 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -540,12 +540,12 @@ foreach (@opt_include) { push (@includes, read_test_regexes($_)); } -my $interfaces = join(',', ("127.0.0.6/8", - "127.0.0.7/8", - "127.0.0.8/8", - "127.0.0.9/8", - "127.0.0.10/8", - "127.0.0.11/8")); +my $interfaces = join(',', ("127.0.0.11/8", + "127.0.0.12/8", + "127.0.0.13/8", + "127.0.0.14/8", + "127.0.0.15/8", + "127.0.0.16/8")); my $conffile = "$prefix_abs/client/client.conf"; $ENV{SMB_CONF_PATH} = $conffile; @@ -845,7 +845,7 @@ sub setup_env($) SocketWrapper::set_default_iface($testenv_vars->{SOCKET_WRAPPER_DEFAULT_IFACE}); $ENV{SMB_CONF_PATH} = $testenv_vars->{SERVERCONFFILE}; } elsif ($option eq "client") { - SocketWrapper::set_default_iface(6); + SocketWrapper::set_default_iface(11); write_clientconf($conffile, $testenv_vars); $ENV{SMB_CONF_PATH} = $conffile; } else { diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index c8dbf8aadf..6f694a1d8a 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -199,10 +199,10 @@ sub add_wins_config($$) my ($self, $privatedir) = @_; return $self->write_ldb_file("$privatedir/wins_config.ldb", " -dn: name=TORTURE_6,CN=PARTNERS +dn: name=TORTURE_11,CN=PARTNERS objectClass: wreplPartner -name: TORTURE_6 -address: 127.0.0.6 +name: TORTURE_11 +address: 127.0.0.11 pullInterval: 0 pushChangeCount: 0 type: 0x3 -- cgit