]> git.sur5r.net Git - openldap/commitdiff
add some failed binds (but don't log too much)
authorPierangelo Masarati <ando@openldap.org>
Fri, 3 Feb 2006 17:58:07 +0000 (17:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 3 Feb 2006 17:58:07 +0000 (17:58 +0000)
tests/scripts/test036-meta-concurrency
tests/scripts/test039-glue-ldap-concurrency

index bf954435f3d62bd47ac098f94a814be5fa0012e8..117b2fbf0dbc176a47fefec6272492fab02fe8f2 100755 (executable)
@@ -188,9 +188,15 @@ for f in $TESTDIR/$DATADIR/do_read.* ; do
        echo "cn=Somewhere,ou=Meta,$METABASEDN" >> $f
 done
 
+# add a bind that resolves to a referral
+for f in $TESTDIR/$DATADIR/do_bind.* ; do
+       echo "cn=Foo,ou=Meta,$METABASEDN" >> $f
+       echo "bar" >> $f
+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 $TESTLOOPS -r 20 -F
+       -D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -r 20 -FF
 RC=$?
 
 if test $RC != 0 ; then
index 1a8f9574474ed5cb3bba5c89c02ea315032df55f..2c6b4b352de53097572c31711ced591da52c2878 100755 (executable)
@@ -165,9 +165,15 @@ for f in $TESTDIR/$DATADIR/do_read.* ; do
        echo "cn=Somewhere,ou=Meta,$METABASEDN" >> $f
 done
 
+# add a bind that resolves to a referral
+for f in $TESTDIR/$DATADIR/do_bind.* ; do
+       echo "cn=Foo,ou=Meta,$METABASEDN" >> $f
+       echo "bar" >> $f
+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 $TESTLOOPS -r 20 -F
+       -D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -r 20 -FF
 RC=$?
 
 if test $RC != 0 ; then