diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-06-16 11:02:48 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-06-17 09:11:59 +0200 |
commit | 6a0db03c80275c00dc0fe7aff099f9b6cc2d113e (patch) | |
tree | 555423d0caf660974700d93aa8cd9168896dd27e /selftest | |
parent | 1e8d025a3cd1b326e9660a0a5b388e67fc2d172a (diff) | |
download | samba-6a0db03c80275c00dc0fe7aff099f9b6cc2d113e.tar.gz samba-6a0db03c80275c00dc0fe7aff099f9b6cc2d113e.tar.bz2 samba-6a0db03c80275c00dc0fe7aff099f9b6cc2d113e.zip |
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
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.pl | 14 | ||||
-rw-r--r-- | 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 |