diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/lib/ldb/tests/start_slapd.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/start_slapd.sh b/source4/lib/ldb/tests/start_slapd.sh index f86555d3c9..22e8548791 100755 --- a/source4/lib/ldb/tests/start_slapd.sh +++ b/source4/lib/ldb/tests/start_slapd.sh @@ -7,7 +7,8 @@ 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 +# running slapd with -d0 means it stays in the same process group, so it can be +# killed by timelimit +slapd -d0 -f $LDBDIR/tests/slapd.conf -h "`$LDBDIR/tests/ldapi_url.sh`" $* & sleep 2 |