Specifically test for error 32 on the consumer.

This commit is contained in:
Quanah Gibson-Mount 2016-12-08 17:14:38 -08:00 committed by root
parent 64bd9f6abc
commit 86df7d3bc3

View File

@ -249,8 +249,8 @@ $LDAPSEARCH -S "" -D $MANAGERDN -w $PASSWD -b "$BASEDN" -H $URI2 \
'(objectclass=*)' '*' $OPATTRS > $SLAVEOUT 2>&1
RC=$?
if test $RC == 0 ; then
echo "ldapsearch succeeded at consumer ($RC)!"
if test $RC != 32 ; then
echo "ldapsearch should have failed with error 32. Got $RC instead!"
echo "This is a regression of ITS8281"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC