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

tridge at samba.org tridge at samba.org
Wed Aug 17 02:56:39 GMT 2005


Author: tridge
Date: 2005-08-17 02:56:39 +0000 (Wed, 17 Aug 2005)
New Revision: 9346

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

Log:

allow test_ldap.sh to be called when $CONFFILE is not set


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


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-08-17 02:56:07 UTC (rev 9345)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-08-17 02:56:39 UTC (rev 9346)
@@ -10,7 +10,7 @@
 
 # see if we support ldaps
 if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null && 
-    grep tls.enabled.=yes $CONFFILE > /dev/null; then
+    test -n "$CONFFILE" && grep tls.enabled.=yes $CONFFILE > /dev/null; then
     PROTOCOLS="ldap ldaps"
 else
     PROTOCOLS="ldap"



More information about the samba-cvs mailing list