# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2005 The OpenLDAP Foundation.
+## Copyright 1998-2013 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
if test -d "$TESTDIR"; then
echo "Cleaning up in $TESTDIR..."
- /bin/rm -rf testrun/db.*
+ /bin/rm -rf $TESTDIR/db.*
fi
mkdir -p $TESTDIR
echo "Starting slapd on TCP/IP port $PORT1..."
-$SLAPD -f $PASSWDCONF -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
+. $CONFFILTER $BACKEND $MONITORDB < $PASSWDCONF > $CONF1
+$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
PID=$!
if test ${WAIT-0} != 0 ; then
echo PID $PID