Skip to content
Snippets Groups Projects
Commit 047ad129 authored by Howard Chu's avatar Howard Chu
Browse files

Cleanup

parent 249a214c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
#! /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
......
#! /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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment