From: Pierangelo Masarati Date: Sat, 19 Jul 2008 11:54:01 +0000 (+0000) Subject: allow easy customization of amount of loops X-Git-Tag: LOCKER_IDS~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94234abcce0cb9fd030fa0d493b440cc3b83e4d5;p=openldap allow easy customization of amount of loops --- diff --git a/tests/scripts/test008-concurrency b/tests/scripts/test008-concurrency index c8a34bb80d..689e5b2156 100755 --- a/tests/scripts/test008-concurrency +++ b/tests/scripts/test008-concurrency @@ -16,6 +16,10 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh +if test x$LOOPS = x ; then + LOOPS=50 +fi + mkdir -p $TESTDIR $DBDIR1 echo "Running slapadd to build slapd database..." @@ -51,7 +55,7 @@ for i in 0 1 2 3 4 5; do done 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 "$DATADIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $LOOPS #$SLAPDTESTER -P "$PROGDIR" -d "$DATADIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l 50 RC=$?