From: Pierangelo Masarati Date: Fri, 3 Feb 2006 17:58:07 +0000 (+0000) Subject: add some failed binds (but don't log too much) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~237 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f13f88bbeef6fe75aeb6c64f51452521e6443e00;p=openldap add some failed binds (but don't log too much) --- diff --git a/tests/scripts/test036-meta-concurrency b/tests/scripts/test036-meta-concurrency index bf954435f3..117b2fbf0d 100755 --- a/tests/scripts/test036-meta-concurrency +++ b/tests/scripts/test036-meta-concurrency @@ -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 diff --git a/tests/scripts/test039-glue-ldap-concurrency b/tests/scripts/test039-glue-ldap-concurrency index 1a8f957447..2c6b4b352d 100755 --- a/tests/scripts/test039-glue-ldap-concurrency +++ b/tests/scripts/test039-glue-ldap-concurrency @@ -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