mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r11659: allow the max runtime for smbtorture and smbd to be controlled on a
per-host basis in the build farm
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d677ebf43d
commit
c8185fe414
@@ -19,11 +19,10 @@ smbd_check_or_start() {
|
||||
|
||||
echo -n "STARTING SMBD..."
|
||||
((
|
||||
runtime=2700
|
||||
if [ -n "$SMBD_VALGRIND" ]; then
|
||||
runtime=7200
|
||||
if [ -z "$SMBD_MAXTIME" ]; then
|
||||
SMBD_MAXTIME=2700
|
||||
fi
|
||||
$SMBD_VALGRIND $SRCDIR/bin/smbd --maximum-runtime=$runtime -d1 -s $CONFFILE -M single -i < $SMBD_TEST_FIFO > $SMBD_TEST_LOG 2>&1;
|
||||
$SMBD_VALGRIND $SRCDIR/bin/smbd --maximum-runtime=$SMBD_MAXTIME -d1 -s $CONFFILE -M single -i < $SMBD_TEST_FIFO > $SMBD_TEST_LOG 2>&1;
|
||||
ret=$?;
|
||||
rm -f $SMBD_TEST_FIFO;
|
||||
if [ -n "$SOCKET_WRAPPER_DIR" -a -d "$SOCKET_WRAPPER_DIR" ]; then
|
||||
|
||||
Reference in New Issue
Block a user