From: Howard Chu Date: Wed, 1 Jul 2009 13:12:45 +0000 (+0000) Subject: ITS#6191 fix typo in URI for adding back-ldap X-Git-Tag: ACLCHECK_0~463 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=edb1f50bfbb841e30fd0d78a746997516a9af333;p=openldap ITS#6191 fix typo in URI for adding back-ldap --- diff --git a/tests/scripts/test022-ppolicy b/tests/scripts/test022-ppolicy index cd2a575bd1..4dc3c3f5ea 100755 --- a/tests/scripts/test022-ppolicy +++ b/tests/scripts/test022-ppolicy @@ -405,7 +405,7 @@ if test $RC = 0 ; then exit 1 fi -if test $BACKLDAP != "ldapno" -a $SYNCPROV != "syncprovno" ; then +if test "$BACKLDAP" != "ldapno" && test "$SYNCPROV" != "syncprovno" ; then echo "" echo "Setting up policy state forwarding test..." @@ -471,7 +471,7 @@ fi echo "Configuring syncrepl on consumer..." if [ "$BACKLDAP" = ldapmod ]; then - $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF <> $TESTOUT 2>&1 + $LDAPADD -D cn=config -H $URI2 -y $CONFIGPWF <> $TESTOUT 2>&1 dn: cn=module,cn=config objectclass: olcModuleList cn: module