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

version 1.40, 2006/01/11 04:25:09 version 1.40.2.9, 2011/01/04 23:51:05
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # $OpenLDAP: pkg/ldap/tests/scripts/test008-concurrency,v 1.39 2006/01/03 22:12:29 kurt Exp $  # $OpenLDAP: pkg/ldap/tests/scripts/test008-concurrency,v 1.40.2.8 2010/04/19 19:14:33 quanah 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-2006 The OpenLDAP Foundation.  ## Copyright 1998-2011 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 50  for i in 0 1 2 3 4 5; do Line 54  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 "$DATADIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l 50  time $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  #$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $TESTLOOPS
 RC=$?  RC=$?
   
 if test $RC != 0 ; then  if test $RC != 0 ; then
Line 74  if test $RC != 0 ; then Line 82  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  
changed lines
  Added in v.1.40.2.9


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