From 338e2030f4d3ba9435b7d0dcc09f82e0f2a01da8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 9 Apr 2004 21:37:48 +0000 Subject: [PATCH] sync with test003 --- tests/scripts/test015-xsearch | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5