]> git.sur5r.net Git - openldap/blob - tests/scripts/conf.sh
more whoami tests
[openldap] / tests / scripts / conf.sh
1 #! /bin/sh
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2004 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15 if [ x"$MONITORDB" = x"yes" ] ; then
16         MON=monitor
17 else
18         MON=nomonitor
19 fi
20 sed -e "s/@BACKEND@/${BACKEND}/"                        \
21         -e "s/^#${BACKEND}#//"                          \
22         -e "s/^#${BACKENDTYPE}#//"                      \
23         -e "s/^#${AC_ldap}#//"                          \
24         -e "s/^#${AC_pcache}#//"                        \
25         -e "s/^#${AC_ppolicy}#//"                       \
26         -e "s/^#${AC_refint}#//"                        \
27         -e "s/^#${AC_unique}#//"                        \
28         -e "s/^#${MON}#//"                              \
29         -e "s/@CACHETTL@/${CACHETTL}/"                  \
30         -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"