diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-17 02:56:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:33:26 -0500 |
commit | 5bf803ff82c169698bf363ccd2c935aeb8830742 (patch) | |
tree | c6f02dc42b1af57ed07d7d63676e2870b9c9b294 /source4/script/tests | |
parent | a533f398aa1fb8d95fa8aab9bc80fe277abb3384 (diff) | |
download | samba-5bf803ff82c169698bf363ccd2c935aeb8830742.tar.gz samba-5bf803ff82c169698bf363ccd2c935aeb8830742.tar.bz2 samba-5bf803ff82c169698bf363ccd2c935aeb8830742.zip |
r9346: allow test_ldap.sh to be called when $CONFFILE is not set
(This used to be commit 3ad02091f621e3ff51aa082ca7a47b9da238aa40)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-x | source4/script/tests/test_ldap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |