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