1#!/bin/sh 2 3if [ -z "$LDBDIR" ]; then 4 LDBDIR=`dirname $0`/.. 5 export LDBDIR 6fi 7 8mkdir -p $LDBDIR/tests/tmp/db 9 10# running slapd with -d0 means it stays in the same process group, so it can be 11# killed by timelimit 12slapd -d0 -f $LDBDIR/tests/slapd.conf -h "`$LDBDIR/tests/ldapi_url.sh`" $* & 13 14sleep 2 15