#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la
-#mod#moduleload refint.la
+#refintmod#moduleload refint.la
#######################################################################
# database definitions
#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/>.
##
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/>.
##
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