From: Pierangelo Masarati Date: Sat, 15 May 2004 14:35:05 +0000 (+0000) Subject: fix test000 for back-monitor built as module X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~364 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75e415472dfb3089dff96808796e84769b71c3bf;p=openldap fix test000 for back-monitor built as module --- diff --git a/tests/scripts/test000-rootdse b/tests/scripts/test000-rootdse index 3e19695ccc..a5d50e7a79 100755 --- a/tests/scripts/test000-rootdse +++ b/tests/scripts/test000-rootdse @@ -49,11 +49,13 @@ if test $RC = 0 ; then fi -if test $RC = 0 -a $MONITORDB = yes ; then - echo "Using ldapsearch to retrieve the cn=Monitor..." - $LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \ - '+extensibleObject' >> $SEARCHOUT 2>&1 - RC=$? +if test $RC = 0 ; then + if test $MONITORDB = yes -o $MONITORDB = mod ; then + echo "Using ldapsearch to retrieve the cn=Monitor..." + $LDAPSEARCH -b "cn=Monitor" -s base -h $LOCALHOST -p $PORT1 \ + '+extensibleObject' >> $SEARCHOUT 2>&1 + RC=$? + fi fi test $KILLSERVERS != no && kill -HUP $KILLPIDS