mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
add some failed binds (but don't log too much)
This commit is contained in:
parent
4bf9eb2365
commit
f13f88bbee
2 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue