]> git.sur5r.net Git - openldap/commitdiff
s/LOOPS/TESTLOOPS/
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 6 Oct 2008 19:57:40 +0000 (19:57 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 6 Oct 2008 19:57:40 +0000 (19:57 +0000)
tests/scripts/sql-test001-concurrency
tests/scripts/test008-concurrency

index e3ab4fb1e114d33b7eb2afc8a8c4ba063aebf2da..7bee47f2a44ff7e7b1346e13b828af18c8aab961 100755 (executable)
@@ -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
@@ -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
index 0b1654e1d9e301643c4d437b07f884ada827cc76..67bf3eefe1339cb4d7cfc8f24bcad0626db8c1f8 100755 (executable)
@@ -16,8 +16,8 @@
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
-if test x$LOOPS = x ; then
-       LOOPS=50
+if test x$TESTLOOPS = x ; then
+       TESTLOOPS=50
 fi
 
 mkdir -p $TESTDIR $DBDIR1
@@ -59,8 +59,8 @@ done
 $MONITORDATA "$MONITORDB" "$DATADIR" "$TESTDIR"
 
 echo "Using tester for concurrent server access..."
-time $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $LOOPS
-#$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $LOOPS
+time $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $TESTLOOPS
+#$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT1 -D "$MANAGERDN" -w $PASSWD -l $TESTLOOPS
 RC=$?
 
 if test $RC != 0 ; then