mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
allow to easily override the default loop number
This commit is contained in:
parent
543c588772
commit
9d66e18c9b
@ -35,6 +35,10 @@ else
|
||||
echo ""
|
||||
fi
|
||||
|
||||
if test x$TESTLOOPS = x ; then
|
||||
TESTLOOPS=50
|
||||
fi
|
||||
|
||||
rm -rf $TESTDIR
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
@ -186,7 +190,7 @@ done
|
||||
|
||||
echo "Using tester for concurrent server access..."
|
||||
$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT3 \
|
||||
-D "cn=Manager,$METABASEDN" -w $PASSWD -l 50 -r 20 -F
|
||||
-D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -r 20 -F
|
||||
RC=$?
|
||||
|
||||
if test $RC != 0 ; then
|
||||
|
@ -28,6 +28,10 @@ if test $RWM = rwmno ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test x$TESTLOOPS = x ; then
|
||||
TESTLOOPS=50
|
||||
fi
|
||||
|
||||
rm -rf $TESTDIR
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
@ -163,7 +167,7 @@ done
|
||||
|
||||
echo "Using tester for concurrent server access..."
|
||||
$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT3 \
|
||||
-D "cn=Manager,$METABASEDN" -w $PASSWD -l 50 -r 20 -F
|
||||
-D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -r 20 -F
|
||||
RC=$?
|
||||
|
||||
if test $RC != 0 ; then
|
||||
|
Loading…
Reference in New Issue
Block a user