]> git.sur5r.net Git - openldap/commitdiff
check regression of ITS#4380
authorPierangelo Masarati <ando@openldap.org>
Wed, 1 Feb 2006 21:59:34 +0000 (21:59 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 1 Feb 2006 21:59:34 +0000 (21:59 +0000)
tests/scripts/test015-xsearch

index 72637ee7bbe3b6b09c76d1b1ff7cd5f17382d5d5..e14963e798ae7094b3cda34ae4f63842742b2107 100755 (executable)
@@ -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)!"