svn commit: samba r15924 - branches/SAMBA_3_0/source/script/tests trunk/source/script/tests

vlendec at samba.org vlendec at samba.org
Sun May 28 16:06:58 GMT 2006


Author: vlendec
Date: 2006-05-28 16:06:56 +0000 (Sun, 28 May 2006)
New Revision: 15924

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

Log:
Ok, the Solaris fix broke AIX. Next try :-)

Volker


Modified:
   branches/SAMBA_3_0/source/script/tests/test_functions.sh
   trunk/source/script/tests/test_functions.sh


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/test_functions.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/test_functions.sh	2006-05-28 15:47:26 UTC (rev 15923)
+++ branches/SAMBA_3_0/source/script/tests/test_functions.sh	2006-05-28 16:06:56 UTC (rev 15924)
@@ -40,7 +40,7 @@
 		rm -f $NMBD_TEST_LOG
 		echo -n "STARTING NMBD..."
 		((
-			if test ! -n "$NMBD_MAXTIME"; then
+			if test x"$NMBD_MAXTIME" = x; then
 			    NMBD_MAXTIME=2700
 			fi
 			timelimit $NMBD_MAXTIME $NMBD_VALGRIND $SRCDIR/bin/nmbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $NMBD_TEST_LOG 2>&1 &
@@ -69,7 +69,7 @@
 		rm -f $SMBD_TEST_LOG
 		echo -n "STARTING SMBD..."
 		((
-			if test ! -n "$SMBD_MAXTIME"; then
+			if test x"$SMBD_MAXTIME" = x; then
 			    SMBD_MAXTIME=2700
 			fi
 			timelimit $SMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/smbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &

Modified: trunk/source/script/tests/test_functions.sh
===================================================================
--- trunk/source/script/tests/test_functions.sh	2006-05-28 15:47:26 UTC (rev 15923)
+++ trunk/source/script/tests/test_functions.sh	2006-05-28 16:06:56 UTC (rev 15924)
@@ -40,7 +40,7 @@
 		rm -f $NMBD_TEST_LOG
 		echo -n "STARTING NMBD..."
 		((
-			if test ! -n "$NMBD_MAXTIME"; then
+			if test x"$NMBD_MAXTIME" = x; then
 			    NMBD_MAXTIME=2700
 			fi
 			timelimit $NMBD_MAXTIME $NMBD_VALGRIND $SRCDIR/bin/nmbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $NMBD_TEST_LOG 2>&1 &
@@ -69,7 +69,7 @@
 		rm -f $SMBD_TEST_LOG
 		echo -n "STARTING SMBD..."
 		((
-			if test ! -n "$SMBD_MAXTIME"; then
+			if test x"$SMBD_MAXTIME" = x; then
 			    SMBD_MAXTIME=2700
 			fi
 			timelimit $SMBD_MAXTIME $SMBD_VALGRIND $SRCDIR/bin/smbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &



More information about the samba-cvs mailing list