X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Fconf.sh;h=9ac081ee2e56f4f19b72eb9d6c74645c13bd1b2d;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=89d76fdacfe50a916a5c48e6cc165b92e60dc4f4;hpb=9f3f281df0d733b6a8ec90a76cc9c79096631b98;p=openldap diff --git a/tests/scripts/conf.sh b/tests/scripts/conf.sh index 89d76fdacf..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-2007 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};"