From: Howard Chu Date: Tue, 10 Feb 2009 00:38:52 +0000 (+0000) Subject: ITS#5935 test delete of running consumer X-Git-Tag: ACLCHECK_0~855 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ced805b19874fd6afd59b637a4fde8b4d48afe6;p=openldap ITS#5935 test delete of running consumer --- diff --git a/tests/scripts/test049-sync-config b/tests/scripts/test049-sync-config index 0097efacbe..8ca33320dc 100755 --- a/tests/scripts/test049-sync-config +++ b/tests/scripts/test049-sync-config @@ -313,6 +313,18 @@ if test $RC != 0 ; then exit $RC fi +echo "Replacing olcSyncrepl on producer..." +$LDAPMODIFY -D cn=config -H $URI1 -y $CONFIGPWF <> $TESTOUT 2>&1 +dn: olcDatabase={0}config,cn=config +changetype: modify +replace: olcSyncRepl +olcSyncRepl: rid=002 provider=$URI1 binddn="cn=config" bindmethod=simple + credentials=$CONFIGPW searchbase="cn=config" type=refreshAndPersist + retry="3 5 300 5" timeout=3 +EOF +echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." +sleep $SLEEP1 + echo "Using ldapsearch to read config from the producer..." $LDAPSEARCH -b cn=config -D cn=config -H $URI1 -y $CONFIGPWF \ 'objectclass=*' > $MASTEROUT 2>&1