From ec0ef0f6e7d41ca9e95b2ad615904ce0092561c5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 22 Dec 2005 13:06:09 +0000 Subject: [PATCH] forgot to filter original data ... --- tests/scripts/test026-dn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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" -- 2.39.5