From: Howard Chu Date: Tue, 3 Jul 2007 16:45:04 +0000 (+0000) Subject: ITS#5036 fix back-monitor dependency X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~354 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ada84dd099f765854e62ff82169ce97d8b14630;p=openldap ITS#5036 fix back-monitor dependency --- diff --git a/tests/scripts/test034-translucent b/tests/scripts/test034-translucent index 79eb72425d..bd4f230894 100755 --- a/tests/scripts/test034-translucent +++ b/tests/scripts/test034-translucent @@ -36,6 +36,12 @@ mkdir -p $TESTDIR $DBDIR1 $SLAPPASSWD -g -n >$CONFIGPWF echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf +if test $MONITORDB = yes ; then + DBIX=2 +else + DBIX=1 +fi + . $CONFFILTER $BACKEND $MONITORDB < $TRANSLUCENTREMOTECONF > $CONF1 echo "Running slapadd to build remote slapd database..." $SLAPADD -f $CONF1 -l $LDIFTRANSLUCENTCONFIG @@ -202,7 +208,7 @@ fi echo "Dynamically configuring local slapd without translucent_no_glue..." $LDAPMODIFY -D cn=config -H $URI2 -y $CONFIGPWF <