summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/start_slapd.sh
blob: f86555d3c98175f97555368629e850fd0c497bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ -z "$LDBDIR" ]; then
    LDBDIR=`dirname $0`/..
    export LDBDIR
fi

mkdir -p $LDBDIR/tests/tmp/db

# not having slapd isn't considered a ldb test failure
slapd -f $LDBDIR/tests/slapd.conf -h "`$LDBDIR/tests/ldapi_url.sh`" $* || exit 0

sleep 2