]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/conf.sh
Merge remote branch 'origin/mdb.master'
[openldap] / tests / scripts / conf.sh
index 10266bdb5cd256edfc34a33a0adeb934d073722b..9ac081ee2e56f4f19b72eb9d6c74645c13bd1b2d 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2005 The OpenLDAP Foundation.
+## Copyright 1998-2011 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -33,6 +33,8 @@ else
 fi
 sed -e "s/@BACKEND@/${BACKEND}/"                       \
        -e "s/^#${BACKEND}#//"                          \
+       -e "/^#~/s/^#[^#]*~${BACKEND}~[^#]*#/#omit: /"  \
+               -e "s/^#~[^#]*~#//"                     \
        -e "s/@RELAY@/${RELAY}/"                        \
        -e "s/^#relay-${RELAY}#//"                      \
        -e "s/^#${BACKENDTYPE}#//"                      \
@@ -41,7 +43,10 @@ sed -e "s/@BACKEND@/${BACKEND}/"                     \
        -e "s/^#${AC_relay}#//"                         \
        -e "s/^#${AC_sql}#//"                           \
                -e "s/^#${RDBMS}#//"                    \
-       -e "s/^#${AC_glue}#//"                          \
+       -e "s/^#${AC_accesslog}#//"                     \
+       -e "s/^#${AC_dds}#//"                           \
+       -e "s/^#${AC_dynlist}#//"                       \
+       -e "s/^#${AC_memberof}#//"                      \
        -e "s/^#${AC_pcache}#//"                        \
        -e "s/^#${AC_ppolicy}#//"                       \
        -e "s/^#${AC_refint}#//"                        \
@@ -50,9 +55,13 @@ sed -e "s/@BACKEND@/${BACKEND}/"                     \
        -e "s/^#${AC_syncprov}#//"                      \
        -e "s/^#${AC_translucent}#//"                   \
        -e "s/^#${AC_unique}#//"                        \
+       -e "s/^#${AC_valsort}#//"                       \
+       -e "s/^#${INDEXDB}#//"                          \
+       -e "s/^#${MAINDB}#//"                           \
        -e "s/^#${MON}#//"                              \
        -e "s/^#${MONMOD}#//"                           \
        -e "s/^#${SASL}#//"                             \
+       -e "s/^#${ACI}#//"                              \
        -e "s;@URI1@;${URI1};"                          \
        -e "s;@URI2@;${URI2};"                          \
        -e "s;@URI3@;${URI3};"                          \
@@ -66,5 +75,6 @@ sed -e "s/@BACKEND@/${BACKEND}/"                      \
        -e "s;@PORT5@;${PORT5};"                        \
        -e "s;@PORT6@;${PORT6};"                        \
        -e "s/@SASL_MECH@/${SASL_MECH}/"                \
-       -e "s/@CACHETTL@/${CACHETTL}/"                  \
-       -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"
+       -e "s;@TESTDIR@;${TESTDIR};"                    \
+       -e "s;@DATADIR@;${DATADIR};"                    \
+       -e "s;@SCHEMADIR@;${SCHEMADIR};"