X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Fsql-test001-concurrency;h=a09bbc52268df6569aba5d3e55e6b55150f9ecfd;hb=c8c34cdd43d3603f3b64a56841b4425379c98f45;hp=4594dbf21fd4f87f1af5f4915dd26d0b3063c40f;hpb=da6d9eb0463255782f3fa70c61fd958d94c048cf;p=openldap diff --git a/tests/scripts/sql-test001-concurrency b/tests/scripts/sql-test001-concurrency index 4594dbf21f..a09bbc5226 100755 --- a/tests/scripts/sql-test001-concurrency +++ b/tests/scripts/sql-test001-concurrency @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2007 The OpenLDAP Foundation. +## Copyright 1998-2011 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -26,8 +26,8 @@ if test $RDBMS = "rdbmsno" ; then exit 0 fi -if test "x$LOOPS" = "x" ; then - LOOPS=5 +if test "x$TESTLOOPS" = "x" ; then + TESTLOOPS=5 fi if test "x$CHILDREN" = "x" ; then @@ -79,7 +79,7 @@ if test $RC != 0 ; then fi echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $SEARCHOUT > $LDIFFLT +$LDIFFILTER < $SEARCHOUT > $LDIFFLT if test "${RDBMSWRITE}" != "yes"; then echo "write test disabled for ${RDBMS}; set SLAPD_USE_SQLWRITE=yes to enable" @@ -102,7 +102,7 @@ fi echo "Using tester for concurrent server access..." $SLAPDTESTER -P "$PROGDIR" -d "$SQLDATADIR" \ -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD \ - -l $LOOPS $CHILDREN -FF + -l $TESTLOOPS $CHILDREN -FF RC=$? if test $RC != 0 ; then @@ -124,7 +124,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT