]> git.sur5r.net Git - openldap/commitdiff
Tests updates for mdb
authorHoward Chu <hyc@openldap.org>
Fri, 2 Sep 2011 00:03:57 +0000 (17:03 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 2 Sep 2011 00:03:57 +0000 (17:03 -0700)
tests/data/slapd.conf
tests/run.in
tests/scripts/test025-limits

index 84cf7ea9792c6bf076b163b8fba88890150bd8db..cd4354f4f5638755a0e18678de92143026482003 100644 (file)
@@ -46,6 +46,7 @@ rootpw                secret
 #indexdb#index         cn,sn,uid       pres,eq,sub
 #bdb#checkpoint                1024 5
 #hdb#checkpoint                1024 5
+#mdb#maxsize   33554432
 #ndb#dbname db_1
 #ndb#include @DATADIR@/ndb.conf
 
index 5b71c2e54615619c8d2d2a5ab30eb575cc7eeb33..ebaae6173fc7ea05e60eb8c8dca3b3e55e5631d3 100644 (file)
@@ -173,7 +173,7 @@ fi
 # maindb: main storage backend.  Currently index,limits,mode,paged results.
 INDEXDB=noindexdb MAINDB=nomaindb
 case $BACKEND in
-       bdb|hdb) INDEXDB=indexdb MAINDB=maindb ;;
+       bdb|hdb|mdb) INDEXDB=indexdb MAINDB=maindb ;;
        ndb) INDEXDB=indexdb ;;
 esac
 
index 95ea3e995f0913bb53d4865238908d922691880b..9d1ec12680ce6b84751e8454a136503e3290fc7d 100755 (executable)
@@ -750,7 +750,7 @@ case $RC in
 esac
 
 if test $MAINDB != maindb ; then
-               # only bdb|hdb currently supports pagedResults control
+               # only bdb|hdb|mdb currently supports pagedResults control
                test $KILLSERVERS != no && kill -HUP $KILLPIDS
 
                echo ">>>>> Test succeeded"