From 5bf803ff82c169698bf363ccd2c935aeb8830742 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Aug 2005 02:56:39 +0000 Subject: r9346: allow test_ldap.sh to be called when $CONFFILE is not set (This used to be commit 3ad02091f621e3ff51aa082ca7a47b9da238aa40) --- source4/script/tests/test_ldap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh index b3d44a639e..a457f527bd 100755 --- a/source4/script/tests/test_ldap.sh +++ b/source4/script/tests/test_ldap.sh @@ -10,7 +10,7 @@ fi # 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" -- cgit