This commit is contained in:
Howard Chu 2004-04-17 15:46:18 +00:00
parent 249a214ca6
commit 047ad1298b
4 changed files with 8 additions and 9 deletions

View File

@ -26,7 +26,7 @@ argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la
#mod#moduleload refint.la
#refintmod#moduleload refint.la
#######################################################################
# database definitions

View File

@ -26,7 +26,7 @@ argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la
#mod#moduleload unique.la
#uniquemod#moduleload unique.la
#######################################################################
# database definitions

View File

@ -1,4 +1,4 @@
#! /bin/sh -xv
#! /bin/sh
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
@ -44,8 +44,7 @@ KILLPIDS="$PID"
echo "Testing slapd referential integrity operations..."
for i in 0 1 2 3 4 5; do
$LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
'objectclass=*'
#> /dev/null 2>&1
'objectclass=*' > /dev/null 2>&1
RC=$?
if test $RC = 0 ; then
break

View File

@ -1,4 +1,4 @@
#! /bin/sh -xv
#! /bin/sh
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
@ -107,10 +107,10 @@ givenName: Bill
EOTUNIQ2
RC=$?
if test $RC != 0 ; then
echo "ldapadd failed ($RC)!"
if test $RC != 19 ; then
echo "unique check failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
exit -1
fi