summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_functions.sh
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-23 14:55:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:43 -0500
commitaa583e5912866069f1f79e0b675e9e7927c64fbe (patch)
treef10a321c5f09425981e63f08e9f55cfbc0489ce4 /source3/script/tests/test_functions.sh
parent8d75615bf11a89e8171e70567e698323e71bc428 (diff)
downloadsamba-aa583e5912866069f1f79e0b675e9e7927c64fbe.tar.gz
samba-aa583e5912866069f1f79e0b675e9e7927c64fbe.tar.bz2
samba-aa583e5912866069f1f79e0b675e9e7927c64fbe.zip
r14678: - we need to use 127.0.0.2/8 as interface for the server
as nmbd skip interfaces with address 127.0.0.1 - add samba3 smbclient -L tests - add samba3 smbtorture tests metze (This used to be commit 835f8f4339f41619ec890e38569b745c5ef5d44e)
Diffstat (limited to 'source3/script/tests/test_functions.sh')
-rw-r--r--source3/script/tests/test_functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/tests/test_functions.sh b/source3/script/tests/test_functions.sh
index 265385d0b1..4e3b8ce7db 100644
--- a/source3/script/tests/test_functions.sh
+++ b/source3/script/tests/test_functions.sh
@@ -43,7 +43,7 @@ samba3_check_or_start() {
if [ -z "$NMBD_MAXTIME" ]; then
NMBD_MAXTIME=2700
fi
- timelimit $NMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/nmbd -F -S --no-process-group -d1 -s $CONFFILE > $NMBD_TEST_LOG 2>&1 &
+ timelimit $NMBD_MAXTIME $NMBD_VALGRIND $SRCDIR/bin/nmbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $NMBD_TEST_LOG 2>&1 &
TIMELIMIT_NMBD_PID=$!
echo $TIMELIMIT_NMBD_PID > $PIDDIR/timelimit.nmbd.pid
wait $TIMELIMIT_NMBD_PID
@@ -65,14 +65,14 @@ samba3_check_or_start() {
exit $ret;
) || exit $? &) 2>/dev/null || exit $?
echo "DONE"
-
+
rm -f $SMBD_TEST_LOG
echo -n "STARTING SMBD..."
((
if [ -z "$SMBD_MAXTIME" ]; then
SMBD_MAXTIME=2700
fi
- timelimit $SMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/smbd -F -S --no-process-group -d1 -s $CONFFILE > $SMBD_TEST_LOG 2>&1 &
+ timelimit $SMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/smbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &
TIMELIMIT_SMBD_PID=$!
echo $TIMELIMIT_SMBD_PID > $PIDDIR/timelimit.smbd.pid
wait $TIMELIMIT_SMBD_PID