From f74ffbcb74d1540002be6b2a28dafaee1efec2b4 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 13 Aug 2005 12:17:12 +0000 Subject: [PATCH] more pcache testing fixes import --- tests/scripts/defines.sh | 1 + tests/scripts/test020-proxycache | 5 +++++ 2 files changed, 6 insertions(+) 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 -- 2.47.2