X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Fconf.sh;h=9ac081ee2e56f4f19b72eb9d6c74645c13bd1b2d;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=c537b00a2a4900740b19c883d3b760352c26bcb2;hpb=4af9eb971559e3a1f0432615e93ec870dc753ddb;p=openldap diff --git a/tests/scripts/conf.sh b/tests/scripts/conf.sh index c537b00a2a..9ac081ee2e 100755 --- a/tests/scripts/conf.sh +++ b/tests/scripts/conf.sh @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2009 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}#//" \ @@ -54,6 +56,8 @@ sed -e "s/@BACKEND@/${BACKEND}/" \ -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}#//" \ @@ -71,10 +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/@NCACHETTL@/${NCACHETTL}/" \ - -e "s/@SCACHETTL@/${SCACHETTL}/" \ - -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/" \ -e "s;@TESTDIR@;${TESTDIR};" \ -e "s;@DATADIR@;${DATADIR};" \ -e "s;@SCHEMADIR@;${SCHEMADIR};"