Diff for /tests/scripts/test008-concurrency between versions 1.40.2.9 and 1.41

version 1.40.2.9, 2011/01/04 23:51:05 version 1.41, 2007/01/02 19:01:19
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # $OpenLDAP: pkg/ldap/tests/scripts/test008-concurrency,v 1.40.2.8 2010/04/19 19:14:33 quanah Exp $  # $OpenLDAP: pkg/ldap/tests/scripts/test008-concurrency,v 1.40 2006/01/11 04:25:09 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-2007 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 16 Line 16
 echo "running defines.sh"  echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh  . $SRCDIR/scripts/defines.sh
   
 if test x$TESTLOOPS = x ; then  
         TESTLOOPS=50  
 fi  
   
 mkdir -p $TESTDIR $DBDIR1  mkdir -p $TESTDIR $DBDIR1
   
 echo "Running slapadd to build slapd database..."  echo "Running slapadd to build slapd database..."
Line 54  for i in 0 1 2 3 4 5; do Line 50  for i in 0 1 2 3 4 5; do
         sleep 5          sleep 5
 done  done
   
 # fix test data to include back-monitor, if available  
 # NOTE: copies do_* files from $DATADIR to $TESTDIR  
 $MONITORDATA "$MONITORDB" "$DATADIR" "$TESTDIR"  
   
 echo "Using tester for concurrent server access..."  echo "Using tester for concurrent server access..."
 time $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $TESTLOOPS  time $SLAPDTESTER -P "$PROGDIR" -d "$DATADIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l 50
 #$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $TESTLOOPS  #$SLAPDTESTER -P "$PROGDIR" -d "$DATADIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l 50
 RC=$?  RC=$?
   
 if test $RC != 0 ; then  if test $RC != 0 ; then
Line 82  if test $RC != 0 ; then Line 74  if test $RC != 0 ; then
 fi  fi
   
 echo "Filtering ldapsearch results..."  echo "Filtering ldapsearch results..."
 $LDIFFILTER < $SEARCHOUT > $SEARCHFLT  . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
 echo "Filtering original ldif used to create database..."  echo "Filtering original ldif used to create database..."
 $LDIFFILTER < $LDIF > $LDIFFLT  . $LDIFFILTER < $LDIF > $LDIFFLT
 echo "Comparing filter output..."  echo "Comparing filter output..."
 $CMP $SEARCHFLT $LDIFFLT > $CMPOUT  $CMP $SEARCHFLT $LDIFFLT > $CMPOUT
   

Removed from v.1.40.2.9  
changed lines
  Added in v.1.41


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