From 7c5bb2bce7453ef9289c5dfff509442f9ae8b199 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Aug 2006 20:33:39 +0000 Subject: r17718: don't consider a slapadd failure in the ldap backend tests as a ldb failure (This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a) --- source4/lib/ldb/tests/init_slapd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 + -- cgit