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

version 1.40, 2006/01/11 04:25:09 version 1.40.2.6, 2009/01/22 00:01:18
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.5 2008/10/06 17:57:40 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-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 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

Removed from v.1.40  
changed lines
  Added in v.1.40.2.6


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