From: Pierangelo Masarati Date: Wed, 1 Feb 2006 21:59:34 +0000 (+0000) Subject: check regression of ITS#4380 X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~253 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72d27f225d9e76039ad32f72b7a6663851cd0126;p=openldap check regression of ITS#4380 --- diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index 72637ee7bb..e14963e798 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -156,6 +156,13 @@ echo "# f=$FILTER ..." >> $SEARCHOUT $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ "$FILTER" >> $SEARCHOUT 2>&1 +# ITS#4380: don't crash when a matchingRule without pretty/validate is used +FILTER="(:dn:caseIgnoreSubstringsMatch:=Information Technology Division)" +echo " f=$FILTER ..." +echo "# f=$FILTER ..." >> $SEARCHOUT +$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ + "$FILTER" >> $SEARCHOUT 2>&1 + RC=$? if test $RC != 0 ; then echo "ldapsearch failed ($RC)!"