From f13f88bbeef6fe75aeb6c64f51452521e6443e00 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 3 Feb 2006 17:58:07 +0000 Subject: [PATCH] add some failed binds (but don't log too much) --- tests/scripts/test036-meta-concurrency | 8 +++++++- tests/scripts/test039-glue-ldap-concurrency | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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 -- 2.39.5