From: Quanah Gibson-Mount Date: Fri, 9 Dec 2016 01:14:38 +0000 (-0800) Subject: Specifically test for error 32 on the consumer. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86df7d3bc343c553a314a99a7f38a8f3561cdd65;p=openldap Specifically test for error 32 on the consumer. --- diff --git a/tests/data/regressions/its8521/its8521 b/tests/data/regressions/its8521/its8521 index c84edaa775..9ce8a3e350 100755 --- a/tests/data/regressions/its8521/its8521 +++ b/tests/data/regressions/its8521/its8521 @@ -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