summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-26 11:31:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:21 -0500
commitc4ebedc7e19dcbc92061da4662b6c998d2c02bae (patch)
tree386cd0158e5189e1d95ffb381283a7e20fc08485 /source4/script/tests
parenta0c614ede22e629eea267b54d3b1852fe9cc2aad (diff)
downloadsamba-c4ebedc7e19dcbc92061da4662b6c998d2c02bae.tar.gz
samba-c4ebedc7e19dcbc92061da4662b6c998d2c02bae.tar.bz2
samba-c4ebedc7e19dcbc92061da4662b6c998d2c02bae.zip
r18917: having 255 virtual interfaces available in socket wrapper means we
stat() 240 files that don't exist on every broadcast. That's a bit excessive! reduce max virtual interfaces to 16 (This used to be commit 3c4100027c7d3806a2021cb4d70ec6adf9dd2dc6)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/mktestsetup.sh6
-rwxr-xr-xsource4/script/tests/selftest.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh
index b4090eee7b..b1db8d2494 100755
--- a/source4/script/tests/mktestsetup.sh
+++ b/source4/script/tests/mktestsetup.sh
@@ -396,10 +396,10 @@ export PATH
cat >$PRIVATEDIR/wins_config.ldif<<EOF
-dn: name=TORTURE_26,CN=PARTNERS
+dn: name=TORTURE_6,CN=PARTNERS
objectClass: wreplPartner
-name: TORTURE_26
-address: 127.0.0.26
+name: TORTURE_6
+address: 127.0.0.6
pullInterval: 0
pushChangeCount: 0
type: 0x3
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index d382d5ca9f..9828e62d88 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -80,9 +80,9 @@ SOCKET_WRAPPER_DEFAULT_IFACE=1
export SOCKET_WRAPPER_DEFAULT_IFACE
smbd_check_or_start
-SOCKET_WRAPPER_DEFAULT_IFACE=26
+SOCKET_WRAPPER_DEFAULT_IFACE=6
export SOCKET_WRAPPER_DEFAULT_IFACE
-TORTURE_INTERFACES='127.0.0.26/8,127.0.0.27/8,127.0.0.28/8,127.0.0.29/8,127.0.0.30/8,127.0.0.31/8'
+TORTURE_INTERFACES='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'
TORTURE_OPTIONS="--option=interfaces=$TORTURE_INTERFACES $CONFIGURATION"
# ensure any one smbtorture call doesn't run too long
TORTURE_OPTIONS="$TORTURE_OPTIONS --maximum-runtime=$TORTURE_MAXTIME"