From: Pierangelo Masarati Date: Sat, 19 May 2007 14:17:34 +0000 (+0000) Subject: test fix to ITS#4964 X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~452 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0b098258f38e6b7ea5a62d922d5721aee6590e0;p=openldap test fix to ITS#4964 --- diff --git a/tests/scripts/test018-syncreplication-persist b/tests/scripts/test018-syncreplication-persist index 50cd004a1c..4f6fb0a0ff 100755 --- a/tests/scripts/test018-syncreplication-persist +++ b/tests/scripts/test018-syncreplication-persist @@ -240,6 +240,17 @@ if test $RC != 0 ; then exit $RC fi +echo "Using ldappasswd to change some passwords..." +$LDAPPASSWD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD \ + 'cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com' \ + > $TESTOUT 2>&1 +RC=$? +if test $RC != 0 ; then + echo "ldapmodify failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC +fi + echo "Waiting 15 seconds for syncrepl to receive changes..." sleep 15 @@ -299,6 +310,18 @@ EOMODS exit $RC fi + # ITS#4964 + echo "Trying to change some passwords on the consumer..." + $LDAPPASSWD -D "$MANAGERDN" -h $LOCALHOST -p $PORT4 -w $PASSWD \ + 'cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com' \ + > $TESTOUT 2>&1 + RC=$? + if test $RC != 0 ; then + echo "ldapmodify failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC + fi + echo "Waiting 15 seconds for syncrepl to receive changes..." sleep 15 fi