From 7ada84dd099f765854e62ff82169ce97d8b14630 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 3 Jul 2007 16:45:04 +0000 Subject: [PATCH] ITS#5036 fix back-monitor dependency --- tests/scripts/test034-translucent | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 <