diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-27 12:42:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:14:49 -0500 |
commit | dc030ce813e90435ae5badaef3d3ff2b58ffa3e4 (patch) | |
tree | 067343c478fe67acb5478b152e5e3c3578cbb94f /source3 | |
parent | 93dc24eed93eb8960d012c0a6e377cf3d8ebfd35 (diff) | |
download | samba-dc030ce813e90435ae5badaef3d3ff2b58ffa3e4.tar.gz samba-dc030ce813e90435ae5badaef3d3ff2b58ffa3e4.tar.bz2 samba-dc030ce813e90435ae5badaef3d3ff2b58ffa3e4.zip |
r18951: socket_wrapper has only 16 interfaces anymore...
metze
(This used to be commit a1966a9c073b597407ee925d1fda53dfa7453e98)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/tests/selftest.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 48f034cf1d..44e0295c69 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -100,18 +100,20 @@ cat >$COMMONCONFFILE<<EOF name resolve order = bcast EOF +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' + cat >$CONFFILE<<EOF [global] - netbios name = TORTURE26 - interfaces = 127.0.0.26/8 + netbios name = TORTURE_6 + interfaces = $TORTURE_INTERFACES panic action = $SCRIPTDIR/gdb_backtrace %d include = $COMMONCONFFILE EOF cat >$SAMBA4CONFFILE<<EOF [global] - netbios name = TORTURE26 - interfaces = 127.0.0.26/8 + netbios name = TORTURE_6 + interfaces = $TORTURE_INTERFACES panic action = $SCRIPTDIR/gdb_backtrace %PID% %PROG% include = $COMMONCONFFILE EOF @@ -172,11 +174,10 @@ export SOCKET_WRAPPER_DEFAULT_IFACE samba3_check_or_start # ensure any one smbtorture call doesn't run too long -# and smbtorture will use 127.0.0.26 as source address by default -SOCKET_WRAPPER_DEFAULT_IFACE=26 +# and smbtorture will use 127.0.0.6 as source address by default +SOCKET_WRAPPER_DEFAULT_IFACE=6 export SOCKET_WRAPPER_DEFAULT_IFACE -TORTURE4_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' -TORTURE4_OPTIONS="--option=interfaces=$TORTURE4_INTERFACES $SAMBA4CONFIGURATION" +TORTURE4_OPTIONS="$SAMBA4CONFIGURATION" TORTURE4_OPTIONS="$TORTURE4_OPTIONS --maximum-runtime=$TORTURE_MAXTIME" TORTURE4_OPTIONS="$TORTURE4_OPTIONS --target=samba3" export TORTURE4_OPTIONS |