svn commit: samba r10643 - in branches/SAMBA_4_0/source/script/tests: .

tridge at samba.org tridge at samba.org
Fri Sep 30 04:52:22 GMT 2005


Author: tridge
Date: 2005-09-30 04:52:21 +0000 (Fri, 30 Sep 2005)
New Revision: 10643

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10643

Log:
increase smbd max runtime when using valgrind

Modified:
   branches/SAMBA_4_0/source/script/tests/test_functions.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_functions.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_functions.sh	2005-09-30 04:29:06 UTC (rev 10642)
+++ branches/SAMBA_4_0/source/script/tests/test_functions.sh	2005-09-30 04:52:21 UTC (rev 10643)
@@ -19,7 +19,11 @@
 
 		echo -n "STARTING SMBD..."
 		((
-			$SMBD_VALGRIND $SRCDIR/bin/smbd --maximum-runtime=2700 -d1 -s $CONFFILE -M single -i < $SMBD_TEST_FIFO > $SMBD_TEST_LOG 2>&1;
+			runtime=2700
+			if [ -n "$SMBD_VALGRIND" ]; then
+			    runtime=7200
+			fi
+			$SMBD_VALGRIND $SRCDIR/bin/smbd --maximum-runtime=$runtime -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



More information about the samba-cvs mailing list