svn commit: samba r15872 - in
branches/SAMBA_3_0/source/script/tests: .
jmcd at samba.org
jmcd at samba.org
Wed May 24 19:07:22 GMT 2006
Author: jmcd
Date: 2006-05-24 19:07:21 +0000 (Wed, 24 May 2006)
New Revision: 15872
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15872
Log:
Take one step toward getting this working on AIX. the [-z ] stuff
doesn't work there.
Modified:
branches/SAMBA_3_0/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-24 18:23:57 UTC (rev 15871)
+++ branches/SAMBA_3_0/source/script/tests/test_functions.sh 2006-05-24 19:07:21 UTC (rev 15872)
@@ -40,7 +40,7 @@
rm -f $NMBD_TEST_LOG
echo -n "STARTING NMBD..."
((
- if [ -z "$NMBD_MAXTIME" ]; then
+ if ! test -n "$NMBD_MAXTIME"; 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 [ -z "$SMBD_MAXTIME" ]; then
+ if ! test -n "$SMBD_MAXTIME"; 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