]> git.sur5r.net Git - openldap/blobdiff - tests/data/regressions/its8521/its8521
Specifically test for error 32 on the consumer.
[openldap] / tests / data / regressions / its8521 / its8521
index c84edaa7759883af471e35531a63cc076dd1c3c3..9ce8a3e350b042e64edaf60b0f671e40866d12f9 100755 (executable)
@@ -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