From: Kurt Zeilenga Date: Fri, 1 Mar 2002 18:58:11 +0000 (+0000) Subject: Add some undefined assertion tests X-Git-Tag: OPENLDAP_REL_ENG_2_MP~385 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8575e0a0503585398c25d8216093be2281359ba1;p=openldap Add some undefined assertion tests --- diff --git a/tests/data/slapd-acl.conf b/tests/data/slapd-acl.conf index f361b2382f..3d7987794d 100644 --- a/tests/data/slapd-acl.conf +++ b/tests/data/slapd-acl.conf @@ -56,4 +56,7 @@ access to filter="(objectclass=groupofnames)" by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop by * break +access to filter="(name=X*Y*Z)" + by * continue + # fall into global ACLs diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index fb00dc4797..17f6fb5834 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -77,7 +77,7 @@ fi echo "Testing OR searching..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ - '(|(undefined=fubar)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1 + '(|(cn=)(undef=*)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1 if test $RC != 0 ; then echo "ldapsearch failed ($RC)!" kill -HUP $PID