From d8fbe2d32cc5885698215234758d45610d132411 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 13 Aug 2005 16:28:52 +0000 Subject: [PATCH] regression for ITS#3506 --- tests/scripts/test015-xsearch | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index 5f101d61b3..0adb6ebbdd 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -161,18 +161,18 @@ if test $RC != 0 ; then exit $RC fi -#FILTER="(:rdnMatch:=cn=All Staff)" -#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)!" -# test $KILLSERVERS != no && kill -HUP $KILLPIDS -# exit $RC -#fi +FILTER="(name:dn:=whatever)" +echo " f=$FILTER ..." +echo "# f=$FILTER ..." >> $SEARCHOUT +$LDAPSEARCH -S "" -b "" -s base -h $LOCALHOST -p $PORT1 \ + "$FILTER" >> $SEARCHOUT 2>&1 + +RC=$? +if test $RC != 0 ; then + echo "ldapsearch failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC +fi echo "Testing values return filter searching:" echo "# Testing values return filter searching:" >> $SEARCHOUT -- 2.39.5