]> git.sur5r.net Git - openldap/commitdiff
allow to test other backend types
authorPierangelo Masarati <ando@openldap.org>
Mon, 30 May 2005 14:02:16 +0000 (14:02 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 30 May 2005 14:02:16 +0000 (14:02 +0000)
tests/data/slapd-meta2.conf
tests/data/slapd-ref-slave.conf
tests/data/slapd.conf
tests/run.in

index bebcea2f11440f7eb00963935d9146143636bda6..dc65690a0c5ec1b305f75b93a986834b6eeae82b 100644 (file)
@@ -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
index 131d2cadb788f74e8543525f7d37b5b09d4bc8b2..c36847bf4812586a801aa2da0ae1e076aa39dc30 100644 (file)
@@ -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"
index 45283e55e20de2700af15c4a88abe117cb35a9ed..2d3be6b33ff35575c43c51cf6b226b329b97a684 100644 (file)
@@ -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
index 0754ba59d74323802ce0c230b9f802421424913e..57adb1c58745ea3260d5403600f3cb40aa4b5134 100644 (file)
@@ -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