From: Kurt Zeilenga Date: Mon, 5 Aug 2002 21:14:19 +0000 (+0000) Subject: Add DN matching to tests X-Git-Tag: OPENLDAP_REL_ENG_2_1_4~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0f41cc35e8d5d7476577fe78997780e85cf5b0b;p=openldap Add DN matching to tests --- diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index c69cc2d797..b763a6e853 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -82,7 +82,7 @@ fi echo "Testing OR searching..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ - '(|(givenName=XX*YY*Z)(cn=)(undef=*)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1 + '(|(givenName=XX*YY*Z)(cn=)(undef=*)(objectclass=groupofnames)(sn=jones)(member=cn=Manager,o=University of Michigan,c=US))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "ldapsearch failed ($RC)!" @@ -92,7 +92,7 @@ fi echo "Testing AND matching and ends-with searching..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ - '(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1 + '(&(objectclass=groupofnames)(cn=A*)(member=cn=Mark Elliot,ou=Alumni Association,ou=People,o=University of Michigan,c=US))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "ldapsearch failed ($RC)!"