Diff for /tests/scripts/test051-config-undo between versions 1.2.2.6 and 1.3

version 1.2.2.6, 2011/01/04 23:51:08 version 1.3, 2007/02/26 19:37:33
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # $OpenLDAP: pkg/ldap/tests/scripts/test051-config-undo,v 1.2.2.5 2010/04/13 20:24:06 kurt Exp $  # $OpenLDAP: pkg/ldap/tests/scripts/test051-config-undo,v 1.2 2007/02/11 22:27:50 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-2011 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 18  echo "running defines.sh" Line 18  echo "running defines.sh"
   
 mkdir -p $TESTDIR $DBDIR1  mkdir -p $TESTDIR $DBDIR1
   
 $SLAPPASSWD -g -n >$CONFIGPWF  
 echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf  
   
 echo "Running slapadd to build slapd database..."  echo "Running slapadd to build slapd database..."
 . $CONFFILTER $BACKEND $MONITORDB < $UNDOCONF > $CONF1  . $CONFFILTER $BACKEND $MONITORDB < $UNDOCONF > $CONF1
 $SLAPADD -f $CONF1 <<EOF  $SLAPADD -f $CONF1 <<EOF
Line 36  if test $RC != 0 ; then Line 33  if test $RC != 0 ; then
 fi  fi
   
 echo "Starting slapd on TCP/IP port $PORT1..."  echo "Starting slapd on TCP/IP port $PORT1..."
 mkdir $TESTDIR/confdir  mkdir testrun/confdir
 $SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &  $SLAPD -f $CONF1 -F testrun/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
 PID=$!  PID=$!
 if test $WAIT != 0 ; then  if test $WAIT != 0 ; then
     echo PID $PID      echo PID $PID

Removed from v.1.2.2.6  
changed lines
  Added in v.1.3


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