]> git.sur5r.net Git - openldap/commitdiff
More bits for ITS#6332
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 18 Nov 2009 02:29:50 +0000 (02:29 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 18 Nov 2009 02:29:50 +0000 (02:29 +0000)
CHANGES
tests/scripts/test017-syncreplication-refresh

diff --git a/CHANGES b/CHANGES
index 08a3c6ab628d9a9e2cbdf1888af1b6aaf85189c2..5e179135b9412af6efa85ec987c3a6af8655a787 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -34,6 +34,7 @@ OpenLDAP 2.4.20 Engineering
        Fixed slapo-syncprov memory leak (ITS#6376)
        Fixed slapo-syncprov out of order changes (ITS#6346)
        Build Environment
+               Added additional operations for ITS#6332
                Fixed memrchr define (ITS#6351)
                Fixed slapd MAXPATHLEN handling (ITS#6342)
                Fixed test057 handling of memberof/refint (ITS#6343)
index 04f1f0be327635dc077234ffc7ff5bd12712a1ea..579a2c4c07efe26fe98f4009548b5941421c8ee9 100755 (executable)
@@ -255,6 +255,41 @@ fi
 echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
 sleep $SLEEP1
 
+echo "Performing larger modify on the producer..."
+$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
+       $TESTOUT 2>&1 << EOMODS
+dn: cn=Alumni Assoc Staff,ou=Groups,dc=example,dc=com
+changetype: modify
+replace: objectClass
+objectClass: groupOfNames
+-
+replace: cn
+cn: Alumni Assoc Staff
+-
+replace: description
+description: blablabla
+-
+replace: member
+member: cn=Manager,dc=example,dc=com
+member: cn=Dorothy Stevens,ou=Alumni Association,ou=People,dc=example,dc=com
+member: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
+member: cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com
+member: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com
+member: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com
+member: cn=Ursula Hampster,ou=Alumni Association,ou=People,dc=example,dc=com
+
+EOMODS
+
+RC=$?
+if test $RC != 0 ; then
+       echo "ldapmodify failed ($RC)!"
+       test $KILLSERVERS != no && kill -HUP $KILLPIDS
+       exit $RC
+fi
+
+echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+sleep $SLEEP1
+
 echo "Try updating the consumer slapd..."
 $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD > \
        $TESTOUT 2>&1 << EOMODS