From: Pierangelo Masarati Date: Sat, 13 Aug 2005 12:17:12 +0000 (+0000) Subject: more pcache testing fixes import X-Git-Tag: OPENLDAP_REL_ENG_2_2_28~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74ffbcb74d1540002be6b2a28dafaee1efec2b4;p=thirdparty%2Fopenldap.git more pcache testing fixes import --- diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 344907a13f..e6799dea77 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -14,6 +14,7 @@ ## . MONITORDB=${AC_MONITOR-no} +BACKLDAP=${AC_ldap-ldapno} PROXYCACHE=${AC_pcache-pcacheno} WITHTLS=${AC_WITHTLS-yes} diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 83bc617e87..e1579a139c 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -23,6 +23,11 @@ if test $PROXYCACHE = pcacheno; then exit 0 fi +if test $BACKLDAP = "ldapno" ; then + echo "LDAP backend not available, test skipped" + exit 0 +fi + if test "x$LVL" = "x0" ; then echo "test020 needs a minimal log level; setting to LDAP_DEBUG_NONE..." LVL=2048