Diff for /tests/scripts/test017-syncreplication-refresh between versions 1.33.2.1 and 1.39

version 1.33.2.1, 2007/02/13 20:22:35 version 1.39, 2009/01/21 23:40:44
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # $OpenLDAP: pkg/ldap/tests/scripts/test017-syncreplication-refresh,v 1.35 2007/01/27 15:38:20 ando Exp $  # $OpenLDAP: pkg/ldap/tests/scripts/test017-syncreplication-refresh,v 1.38 2008/11/22 22:48:17 hyc Exp $
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.  ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##  ##
 ## Copyright 1998-2007 The OpenLDAP Foundation.  ## Copyright 1998-2009 The OpenLDAP Foundation.
 ## All rights reserved.  ## All rights reserved.
 ##  ##
 ## Redistribution and use in source and binary forms, with or without  ## Redistribution and use in source and binary forms, with or without
Line 113  if test $RC != 0 ; then Line 113  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 echo "Waiting 15 seconds for syncrepl to receive changes..."  echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
 sleep 15  sleep $SLEEP1
   
 echo "Using ldapmodify to modify producer directory..."  echo "Using ldapmodify to modify producer directory..."
   
Line 202  if test $RC != 0 ; then Line 202  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 echo "Waiting 15 seconds for syncrepl to receive changes..."  echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
 sleep 15  sleep $SLEEP1
   
 echo "Try updating the consumer slapd..."  echo "Try updating the consumer slapd..."
 $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD > \  $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD > \
Line 220  RC=$? Line 220  RC=$?
   
 # expect 10 (LDAP_REFERRAL)...  # expect 10 (LDAP_REFERRAL)...
 if test $RC != 10 ; then  if test $RC != 10 ; then
         echo "ldapmodify should have failed ($RC)!"          echo "ldapmodify should have returned referral ($RC)!"
         test $KILLSERVERS != no && kill -HUP $KILLPIDS          test $KILLSERVERS != no && kill -HUP $KILLPIDS
         exit $RC          exit $RC
 fi  fi

Removed from v.1.33.2.1  
changed lines
  Added in v.1.39


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org