From 1f5c0b41dceacca48902377c10709c87695c23aa Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 6 Dec 2003 11:46:26 +0000 Subject: [PATCH] Use proxy cache overlay --- tests/run.in | 5 ++--- tests/scripts/defines.sh | 2 +- tests/scripts/test020-proxycache | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/run.in b/tests/run.in index 16e5a0a0f5..e8b770d63a 100644 --- a/tests/run.in +++ b/tests/run.in @@ -26,12 +26,11 @@ AC_bdb=@BUILD_BDB@ AC_hdb=@BUILD_HDB@ AC_ldbm=@BUILD_LDBM@ AC_ldap=ldap@BUILD_LDAP@ -AC_meta=meta@BUILD_META@ +AC_pcache=pcache@BUILD_PROXYCACHE@ AC_MONITOR=@BUILD_MONITOR@ -AC_CACHE=@BUILD_CACHE@ AC_WITH_TLS=@WITH_TLS@ -export AC_MONITOR AC_CACHE AC_WITH_TLS AC_ldap AC_meta +export AC_MONITOR AC_WITH_TLS AC_ldap AC_pcache if test ! -x ../servers/slapd/slapd ; then echo "Could not locate slapd(8)" diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 07edf3022b..a0afe69756 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -14,7 +14,7 @@ ## . MONITORDB=${AC_MONITOR-no} -PROXYCACHE=${AC_CACHE-no} +PROXYCACHE=${AC_pcache-pcacheno} WITHTLS=${AC_WITHTLS-yes} DATADIR=./testdata diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 38dddc4334..ddd294e9a4 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -18,8 +18,8 @@ CACHE_ENTRY_LIMIT=10 . $SRCDIR/scripts/defines.sh -if test $PROXYCACHE = no; then - echo "Proxy caching requires back-meta AND (back-ldbm OR back-bdb)" +if test $PROXYCACHE = pcacheno; then + echo "Proxy cache overlay not available, test skipped" exit 0 fi -- 2.39.5