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 ...@@ -26,7 +26,7 @@ argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays #mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la #mod#moduleload back_@BACKEND@.la
#mod#moduleload refint.la #refintmod#moduleload refint.la
####################################################################### #######################################################################
# database definitions # database definitions
......
...@@ -26,7 +26,7 @@ argsfile ./testrun/slapd.1.args ...@@ -26,7 +26,7 @@ argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays #mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la #mod#moduleload back_@BACKEND@.la
#mod#moduleload unique.la #uniquemod#moduleload unique.la
####################################################################### #######################################################################
# database definitions # database definitions
......
#! /bin/sh -xv #! /bin/sh
# $OpenLDAP$ # $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>. ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
## ##
...@@ -44,8 +44,7 @@ KILLPIDS="$PID" ...@@ -44,8 +44,7 @@ KILLPIDS="$PID"
echo "Testing slapd referential integrity operations..." echo "Testing slapd referential integrity operations..."
for i in 0 1 2 3 4 5; do for i in 0 1 2 3 4 5; do
$LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
'objectclass=*' 'objectclass=*' > /dev/null 2>&1
#> /dev/null 2>&1
RC=$? RC=$?
if test $RC = 0 ; then if test $RC = 0 ; then
break break
......
#! /bin/sh -xv #! /bin/sh
# $OpenLDAP$ # $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>. ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
## ##
...@@ -107,10 +107,10 @@ givenName: Bill ...@@ -107,10 +107,10 @@ givenName: Bill
EOTUNIQ2 EOTUNIQ2
RC=$? RC=$?
if test $RC != 0 ; then if test $RC != 19 ; then
echo "ldapadd failed ($RC)!" echo "unique check failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC exit -1
fi 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