version 1.9.2.1, 2002/06/20 20:12:35
|
version 1.9.2.2, 2002/09/01 22:02:30
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# $OpenLDAP: pkg/ldap/tests/scripts/test000-rootdse,v 1.9 2002/01/21 05:35:04 kurt Exp $ |
# $OpenLDAP: pkg/ldap/tests/scripts/test000-rootdse,v 1.9.2.1 2002/06/20 20:12:35 kurt Exp $ |
|
|
SRCDIR="." |
SRCDIR="." |
if test $# -ge 1 ; then |
if test $# -ge 1 ; then |
Line 41 echo "Using ldapsearch to retrieve the r
|
Line 41 echo "Using ldapsearch to retrieve the r
|
for i in 0 1 2 3 4 5; do |
for i in 0 1 2 3 4 5; do |
$LDAPSEARCH -b "" -s base -h $LOCALHOST -p $PORT 'extensibleObject' > $SEARCHOUT 2>&1 |
$LDAPSEARCH -b "" -s base -h $LOCALHOST -p $PORT 'extensibleObject' > $SEARCHOUT 2>&1 |
RC=$? |
RC=$? |
if test $RC = 1 ; then |
if test $RC = 0 ; then |
echo "Waiting 5 seconds for slapd to start..." |
break |
sleep 5 |
|
fi |
fi |
|
echo "Waiting 5 seconds for slapd to start..." |
|
sleep 5 |
done |
done |
|
|
if test $RC = 0 -a $MONITORDB = yes ; then |
if test $RC = 0 -a $MONITORDB = yes ; then |