version 1.24, 2005/08/20 22:59:34
|
version 1.25, 2005/09/17 20:22:16
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# $OpenLDAP: pkg/ldap/tests/scripts/test000-rootdse,v 1.23 2005/01/01 19:50:02 kurt Exp $ |
# $OpenLDAP: pkg/ldap/tests/scripts/test000-rootdse,v 1.24 2005/08/20 22:59:34 hallvard Exp $ |
## This work is part of OpenLDAP Software <http://www.openldap.org/>. |
## This work is part of OpenLDAP Software <http://www.openldap.org/>. |
## |
## |
## Copyright 1998-2005 The OpenLDAP Foundation. |
## Copyright 1998-2005 The OpenLDAP Foundation. |
Line 51 fi
|
Line 51 fi
|
|
|
count=2 |
count=2 |
if test $RC = 0 ; then |
if test $RC = 0 ; then |
if test $MONITORDB = yes -o $MONITORDB = mod ; then |
case $MONITORDB in yes | mod) |
count=3 |
count=3 |
echo "Using ldapsearch to retrieve the cn=Monitor..." |
echo "Using ldapsearch to retrieve the cn=Monitor..." |
$LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \ |
$LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \ |
'+extensibleObject' >> $SEARCHOUT 2>&1 |
'+extensibleObject' >> $SEARCHOUT 2>&1 |
RC=$? |
RC=$? |
fi |
;; |
|
esac |
fi |
fi |
|
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS |
test $KILLSERVERS != no && kill -HUP $KILLPIDS |