From: Pierangelo Masarati Date: Mon, 30 May 2005 14:02:16 +0000 (+0000) Subject: allow to test other backend types X-Git-Tag: OPENLDAP_AC_BP~588 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eaf860ad40817da0ad492d57830c2975f95f09a9;p=openldap allow to test other backend types --- diff --git a/tests/data/slapd-meta2.conf b/tests/data/slapd-meta2.conf index bebcea2f11..dc65690a0c 100644 --- a/tests/data/slapd-meta2.conf +++ b/tests/data/slapd-meta2.conf @@ -44,6 +44,7 @@ suffix "ou=Meta,dc=example,dc=com" directory ./testrun/db.2.a rootdn "cn=Manager,ou=Meta,dc=example,dc=com" rootpw secret -index objectClass eq +#bdb#index objectClass eq +#ldbm#index objectClass eq #monitor#database monitor diff --git a/tests/data/slapd-ref-slave.conf b/tests/data/slapd-ref-slave.conf index 131d2cadb7..c36847bf48 100644 --- a/tests/data/slapd-ref-slave.conf +++ b/tests/data/slapd-ref-slave.conf @@ -35,7 +35,9 @@ argsfile ./testrun/slapd.2.args referral "@URI1@" database @BACKEND@ -cachesize 0 +#bdb#cachesize 0 +#hdb#cachesize 0 +#ldbm#cachesize 0 suffix "o=University of Mich,c=US" directory ./testrun/db.2.a rootdn "cn=Manager,o=University of Mich,c=US" diff --git a/tests/data/slapd.conf b/tests/data/slapd.conf index 45283e55e2..2d3be6b33f 100644 --- a/tests/data/slapd.conf +++ b/tests/data/slapd.conf @@ -38,7 +38,9 @@ suffix "dc=example,dc=com" directory ./testrun/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret -index objectClass eq -index cn,sn,uid pres,eq,sub +#bdb#index objectClass eq +#bdb#index cn,sn,uid pres,eq,sub +#ldbm#index objectClass eq +#ldbm#index cn,sn,uid pres,eq,sub #monitor#database monitor diff --git a/tests/run.in b/tests/run.in index 0754ba59d7..57adb1c587 100644 --- a/tests/run.in +++ b/tests/run.in @@ -113,6 +113,9 @@ while test $# -gt 0 ; do done BACKENDTYPE=`eval 'echo $AC_'$BACKEND` +if test "x$BACKENDTYPE" = "x" ; then + BACKENDTYPE="unknown" +fi export BACKEND BACKENDTYPE WAIT KILLSERVERS PRESERVE USERDATA if test $# = 0 ; then