mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Cleanup
This commit is contained in:
parent
249a214ca6
commit
047ad1298b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user