From: Kurt Zeilenga Date: Fri, 9 Apr 2004 21:37:48 +0000 (+0000) Subject: sync with test003 X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=338e2030f4d3ba9435b7d0dcc09f82e0f2a01da8;p=openldap sync with test003 --- diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index ef20cbbde5..cd66c47d2f 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -75,6 +75,16 @@ if test $RC != 0 ; then exit $RC fi +echo "Testing approximate searching..." +$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ + '(sn~=jensen)' name >> $SEARCHOUT 2>&1 +RC=$? +if test $RC != 0 ; then + echo "ldapsearch failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC +fi + echo "Testing OR searching..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(|(givenName=XX*YY*Z)(cn=)(undef=*)(objectclass=groupofnames)(objectclass=groupofuniquenames)(sn:caseExactMatch:=Jones))' >> $SEARCHOUT 2>&1