From: Pierangelo Masarati Date: Thu, 22 Dec 2005 13:06:09 +0000 (+0000) Subject: forgot to filter original data ... X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~519 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec0ef0f6e7d41ca9e95b2ad615904ce0092561c5;p=openldap forgot to filter original data ... --- diff --git a/tests/scripts/test026-dn b/tests/scripts/test026-dn index fee3c4c982..5519891b78 100755 --- a/tests/scripts/test026-dn +++ b/tests/scripts/test026-dn @@ -118,8 +118,8 @@ if test $RC != 0 ; then fi DN="dc=example,dc=com" -echo "Searching database for uniqueMember~=\"$DN\" (approx) ..." -echo "# Searching database for uniqueMember~=\"$DN\" (approx) ..." >> $SEARCHOUT +echo "Searching database for uniqueMember~=\"$DN\" (approx)..." +echo "# Searching database for uniqueMember~=\"$DN\" (approx)..." >> $SEARCHOUT $LDAPSEARCH -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ "(uniqueMember~=)" >> $SEARCHOUT 2>&1 @@ -131,8 +131,8 @@ if test $RC != 0 ; then fi DN="dc=example,dc=com#'001000'B" -echo "Searching database for uniqueMember~=\"$DN\" (approx) ..." -echo "# Searching database for uniqueMember~=\"$DN\" (approx) ..." >> $SEARCHOUT +echo "Searching database for uniqueMember~=\"$DN\" (approx)..." +echo "# Searching database for uniqueMember~=\"$DN\" (approx)..." >> $SEARCHOUT $LDAPSEARCH -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ "(uniqueMember~=$DN)" >> $SEARCHOUT 2>&1 @@ -145,12 +145,12 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -LDIFOUT=$DNOUT - echo "Filtering ldapsearch results..." . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +echo "Filtering original data..." +. $LDIFFILTER < $DNOUT > $LDIFFLT echo "Comparing ldapsearch results against original..." -$CMP $SEARCHFLT $LDIFOUT > $CMPOUT +$CMP $SEARCHFLT $LDIFFLT > $CMPOUT if test $? != 0 ; then echo "comparison failed - DN write operations did not complete correctly"