summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-28 16:06:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:13 -0500
commit4c411c9bb96adb664d81b32ada68bc92e2f2df59 (patch)
tree2602100162849e56a813053e72a02ee3fed0f9fd /source3/script/tests
parent096061c212ef9c45eb282d6e026336baf0e95547 (diff)
downloadsamba-4c411c9bb96adb664d81b32ada68bc92e2f2df59.tar.gz
samba-4c411c9bb96adb664d81b32ada68bc92e2f2df59.tar.bz2
samba-4c411c9bb96adb664d81b32ada68bc92e2f2df59.zip
r15924: Ok, the Solaris fix broke AIX. Next try :-)
Volker (This used to be commit 53bd3fa30ad1f8bada4a49e4c79ea7ff70188174)
Diffstat (limited to 'source3/script/tests')
-rw-r--r--source3/script/tests/test_functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/tests/test_functions.sh b/source3/script/tests/test_functions.sh
index 882efa5cad..368832a506 100644
--- a/source3/script/tests/test_functions.sh
+++ b/source3/script/tests/test_functions.sh
@@ -40,7 +40,7 @@ samba3_check_or_start() {
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 @@ samba3_check_or_start() {
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 &