diff options
Diffstat (limited to 'source4/lib/ldb/tests')
-rwxr-xr-x | source4/lib/ldb/tests/init_slapd.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/init_slapd.sh b/source4/lib/ldb/tests/init_slapd.sh index be3e99365c..be06ac0d74 100755 --- a/source4/lib/ldb/tests/init_slapd.sh +++ b/source4/lib/ldb/tests/init_slapd.sh @@ -17,4 +17,7 @@ if [ -f tests/tmp/slapd.pid ]; then rm -f tests/tmp/slapd.pid fi -slapadd -f $LDBDIR/tests/slapd.conf < $LDBDIR/tests/init.ldif || exit 1 +# we don't consider a slapadd failure as a test suite failure, as it +# has nothing to do with ldb +slapadd -f $LDBDIR/tests/slapd.conf < $LDBDIR/tests/init.ldif || exit 0 + |