Diff for /tests/scripts/relay between versions 1.3.2.4 and 1.3.2.8

version 1.3.2.4, 2005/03/14 22:25:04 version 1.3.2.8, 2006/01/03 22:16:28
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # $OpenLDAP: pkg/ldap/tests/scripts/relay,v 1.3.2.3 2005/01/24 21:28:54 kurt Exp $  # $OpenLDAP: pkg/ldap/tests/scripts/relay,v 1.3.2.7 2005/10/05 17:41:31 kurt 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-2005 The OpenLDAP Foundation.  ## Copyright 1998-2006 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 17  echo "Using $RELAY backend..." Line 17  echo "Using $RELAY backend..."
 echo ""  echo ""
   
 echo "Starting slapd on TCP/IP port $PORT1..."  echo "Starting slapd on TCP/IP port $PORT1..."
 . $CONFFILTER $BACKEND $MONITORDB < $RWMCONF > $CONF1  . $CONFFILTER $BACKEND $MONITORDB < $RELAYCONF > $CONF1
 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &  $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
 PID=$!  PID=$!
 if test $WAIT != 0 ; then  if test $WAIT != 0 ; then
Line 26  if test $WAIT != 0 ; then Line 26  if test $WAIT != 0 ; then
 fi  fi
 KILLPIDS="$PID"  KILLPIDS="$PID"
   
   sleep 1
   
 echo "Using ldapsearch to check that slapd is running..."  echo "Using ldapsearch to check that slapd is running..."
 for i in 0 1 2 3 4 5; do  for i in 0 1 2 3 4 5; do
         $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \          $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
Line 38  for i in 0 1 2 3 4 5; do Line 40  for i in 0 1 2 3 4 5; do
         sleep 5          sleep 5
 done  done
 if test $RC != 0 ; then  if test $RC != 0 ; then
         echo "ldapsearch failed $(RC)!"          echo "ldapsearch failed ($RC)!"
         test $KILLSERVERS != no && kill -HUP $KILLPIDS          test $KILLSERVERS != no && kill -HUP $KILLPIDS
         exit $RC          exit $RC
 fi  fi
Line 169  description: Just added as ldap://localh Line 171  description: Just added as ldap://localh
 dn: ou=Referrals,$BASEDN  dn: ou=Referrals,$BASEDN
 changetype: modify  changetype: modify
 replace: ref  replace: ref
 ref: ldap://localhost:9010/ou=Referrals,$BASEDN  ref: ldap://localhost:9012/ou=Referrals,$BASEDN
 -  -
 add: description  add: description
 description: ...and modified as ldap://localhost:9010/ou=Referrals,$BASEDN  description: ...and modified as ldap://localhost:9012/ou=Referrals,$BASEDN
 -  -
 EOMODS  EOMODS
   

Removed from v.1.3.2.4  
changed lines
  Added in v.1.3.2.8


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