From: Hallvard Furuseth Date: Sun, 29 Nov 2009 09:10:25 +0000 (+0000) Subject: For ITS#5810: Use progs/ldif-filter. Retire scripts/acfilter.sh. X-Git-Tag: ACLCHECK_0~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f86c2e8eb07910670ab5262d470efaf6c497898;p=openldap For ITS#5810: Use progs/ldif-filter. Retire scripts/acfilter.sh. --- diff --git a/tests/data/regressions/its4337/its4337 b/tests/data/regressions/its4337/its4337 index 189298f11c..c102a3cb64 100755 --- a/tests/data/regressions/its4337/its4337 +++ b/tests/data/regressions/its4337/its4337 @@ -139,9 +139,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$ITSDIR/config.out echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/data/regressions/its4448/its4448 b/tests/data/regressions/its4448/its4448 index b7e97503ac..97c9849d57 100755 --- a/tests/data/regressions/its4448/its4448 +++ b/tests/data/regressions/its4448/its4448 @@ -308,9 +308,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT +$LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/acfilter.sh b/tests/scripts/acfilter.sh deleted file mode 100755 index ff5826923b..0000000000 --- a/tests/scripts/acfilter.sh +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/sh -# $OpenLDAP$ -## This work is part of OpenLDAP Software . -## -## Copyright 1998-2009 The OpenLDAP Foundation. -## All rights reserved. -## -## Redistribution and use in source and binary forms, with or without -## modification, are permitted only as authorized by the OpenLDAP -## Public License. -## -## A copy of this license is available in the file LICENSE in the -## top-level directory of the distribution or, alternatively, at -## . -# -# Strip comments, sort attributes. Requires GNU awk -# -if [ "$BACKEND" != ndb ]; then -grep -v '^#' -else -grep -v '^#'| awk 'BEGIN{FS="\n";RS=""} {j=0; for (i=1; i<=NF; i++){ if ($i ~ /^ /){ x[j] = x[j] "\n" $i; } else { j++; x[j] = $i } } print x[1]; delete x[1]; j=asort(x); for (i=1; i<=j; i++){ print x[i]; } delete x; print "" }' -fi diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 2eb09feae4..013e7e5147 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -163,7 +163,6 @@ TOOLARGS="-x $LDAP_TOOLARGS" TOOLPROTO="-P 3" # cmds -LDIFFILTER=$SRCDIR/scripts/acfilter.sh CONFFILTER=$SRCDIR/scripts/conf.sh MONITORDATA=$SRCDIR/scripts/monitor_data.sh @@ -192,6 +191,7 @@ LDAPWHOAMI="$CLIENTDIR/ldapwhoami $TOOLARGS" LDAPCOMPARE="$CLIENTDIR/ldapcompare $TOOLARGS" LDAPEXOP="$CLIENTDIR/ldapexop $TOOLARGS" SLAPDTESTER=$PROGDIR/slapd-tester +LDIFFILTER=$PROGDIR/ldif-filter LVL=${SLAPD_DEBUG-261} LOCALHOST=localhost BASEPORT=${SLAPD_BASEPORT-9010} diff --git a/tests/scripts/relay b/tests/scripts/relay index 49a7aa278e..4530f486de 100755 --- a/tests/scripts/relay +++ b/tests/scripts/relay @@ -344,9 +344,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $RELAYOUT > $LDIFFLT +$LDIFFILTER < $RELAYOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/sql-test000-read b/tests/scripts/sql-test000-read index 070d4af690..88bc6e0440 100755 --- a/tests/scripts/sql-test000-read +++ b/tests/scripts/sql-test000-read @@ -550,9 +550,9 @@ case $RC in esac echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif..." -. $LDIFFILTER < $SQLREAD > $LDIFFLT +$LDIFFILTER < $SQLREAD > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/sql-test001-concurrency b/tests/scripts/sql-test001-concurrency index 55dabb6c80..88319b3ebc 100755 --- a/tests/scripts/sql-test001-concurrency +++ b/tests/scripts/sql-test001-concurrency @@ -79,7 +79,7 @@ if test $RC != 0 ; then fi echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $SEARCHOUT > $LDIFFLT +$LDIFFILTER < $SEARCHOUT > $LDIFFLT if test "${RDBMSWRITE}" != "yes"; then echo "write test disabled for ${RDBMS}; set SLAPD_USE_SQLWRITE=yes to enable" @@ -124,7 +124,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/sql-test900-write b/tests/scripts/sql-test900-write index a190114771..79bf6e7ef0 100755 --- a/tests/scripts/sql-test900-write +++ b/tests/scripts/sql-test900-write @@ -549,9 +549,9 @@ EOMODS fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering modified ldif..." - . $LDIFFILTER < $SQLWRITE > $LDIFFLT + $LDIFFILTER < $SQLWRITE > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/sql-test901-syncrepl b/tests/scripts/sql-test901-syncrepl index 9af32e9d54..68be27def6 100755 --- a/tests/scripts/sql-test901-syncrepl +++ b/tests/scripts/sql-test901-syncrepl @@ -122,9 +122,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results from master..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering ldapsearch results from slave..." -. $LDIFFILTER < $SEARCHOUT2 > $SEARCHFLT2 +$LDIFFILTER < $SEARCHOUT2 > $SEARCHFLT2 echo "Comparing filter output..." $CMP $SEARCHFLT $SEARCHFLT2 > $CMPOUT @@ -620,9 +620,9 @@ EOMODS fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering modified ldif..." - . $LDIFFILTER < $SQLWRITE > $LDIFFLT + $LDIFFILTER < $SQLWRITE > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -668,9 +668,9 @@ EOMODS fi echo "Filtering ldapsearch results from master..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering ldapsearch results from slave..." - . $LDIFFILTER < $SEARCHOUT2 > $SEARCHFLT2 + $LDIFFILTER < $SEARCHOUT2 > $SEARCHFLT2 echo "Comparing filter output..." $CMP $SEARCHFLT $SEARCHFLT2 > $CMPOUT diff --git a/tests/scripts/start-server b/tests/scripts/start-server index 72c47206e1..085eb7f74f 100755 --- a/tests/scripts/start-server +++ b/tests/scripts/start-server @@ -48,9 +48,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/start-server-nolog b/tests/scripts/start-server-nolog index 4ab42f4012..8d6f08cfdd 100755 --- a/tests/scripts/start-server-nolog +++ b/tests/scripts/start-server-nolog @@ -48,9 +48,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test001-slapadd b/tests/scripts/test001-slapadd index de2b9a43f7..a59443d68f 100755 --- a/tests/scripts/test001-slapadd +++ b/tests/scripts/test001-slapadd @@ -58,9 +58,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test002-populate b/tests/scripts/test002-populate index 2a676cf6da..70b23d36a8 100755 --- a/tests/scripts/test002-populate +++ b/tests/scripts/test002-populate @@ -65,9 +65,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index 679b5218dd..d922c26b43 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -133,9 +133,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$SEARCHOUTMASTER echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test004-modify b/tests/scripts/test004-modify index 7330b0bc24..a6bead374f 100755 --- a/tests/scripts/test004-modify +++ b/tests/scripts/test004-modify @@ -216,9 +216,9 @@ fi LDIF=$MODIFYOUTMASTER echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test005-modrdn b/tests/scripts/test005-modrdn index 14a80f118e..bf2e978517 100755 --- a/tests/scripts/test005-modrdn +++ b/tests/scripts/test005-modrdn @@ -98,9 +98,9 @@ fi LDIF=$MODRDNOUTMASTER1 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -125,9 +125,9 @@ fi LDIF=$MODRDNOUTMASTER2 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -169,9 +169,9 @@ fi LDIF=$MODRDNOUTMASTER0 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -209,9 +209,9 @@ fi LDIF=$MODRDNOUTMASTER3 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test006-acls b/tests/scripts/test006-acls index a06fe9f007..ce33cc8237 100755 --- a/tests/scripts/test006-acls +++ b/tests/scripts/test006-acls @@ -652,9 +652,9 @@ fi LDIF=$ACLOUTMASTER echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test008-concurrency b/tests/scripts/test008-concurrency index 270d7c3e8b..d289f647f4 100755 --- a/tests/scripts/test008-concurrency +++ b/tests/scripts/test008-concurrency @@ -82,9 +82,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test009-referral b/tests/scripts/test009-referral index 33b5acd9eb..315fcad8ce 100755 --- a/tests/scripts/test009-referral +++ b/tests/scripts/test009-referral @@ -163,9 +163,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$SEARCHOUTMASTER echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test011-glue-slapadd b/tests/scripts/test011-glue-slapadd index bede7df93a..e2765b5e63 100755 --- a/tests/scripts/test011-glue-slapadd +++ b/tests/scripts/test011-glue-slapadd @@ -56,9 +56,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIFGLUED > $LDIFFLT +$LDIFFILTER < $LDIFGLUED > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test012-glue-populate b/tests/scripts/test012-glue-populate index 9767037789..47d8c3ab47 100755 --- a/tests/scripts/test012-glue-populate +++ b/tests/scripts/test012-glue-populate @@ -65,9 +65,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIFGLUED > $LDIFFLT +$LDIFFILTER < $LDIFGLUED > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test013-language b/tests/scripts/test013-language index f2b73a2106..f2f989b847 100755 --- a/tests/scripts/test013-language +++ b/tests/scripts/test013-language @@ -99,9 +99,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering language ldif ..." -. $LDIFFILTER < $LDIFLANGOUT > $LDIFFLT +$LDIFFILTER < $LDIFLANGOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index 2764376b1e..c4288f06ce 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -229,10 +229,10 @@ LDIF=$SEARCHOUTMASTER LDIF2=$SEARCHOUTX echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT -. $LDIFFILTER < $LDIF2 >> $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF2 >> $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test016-subref b/tests/scripts/test016-subref index f4cb51d513..7cdee8668c 100755 --- a/tests/scripts/test016-subref +++ b/tests/scripts/test016-subref @@ -178,9 +178,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$SEARCHOUTMASTER echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering expected LDIF for comparison..." -. $LDIFFILTER < $REFERRALOUT > $LDIFFLT +$LDIFFILTER < $REFERRALOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test017-syncreplication-refresh b/tests/scripts/test017-syncreplication-refresh index 579a2c4c07..da4386b565 100755 --- a/tests/scripts/test017-syncreplication-refresh +++ b/tests/scripts/test017-syncreplication-refresh @@ -337,9 +337,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT > $SLAVEFLT echo "Comparing retrieved entries from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test018-syncreplication-persist b/tests/scripts/test018-syncreplication-persist index fda8bcc539..bcecc837d5 100755 --- a/tests/scripts/test018-syncreplication-persist +++ b/tests/scripts/test018-syncreplication-persist @@ -383,9 +383,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT > $SLAVEFLT echo "Comparing retrieved entries from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test019-syncreplication-cascade b/tests/scripts/test019-syncreplication-cascade index f6d3ede615..8ac0b42d94 100755 --- a/tests/scripts/test019-syncreplication-cascade +++ b/tests/scripts/test019-syncreplication-cascade @@ -433,17 +433,17 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering master ldapsearch results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering R1 slave ldapsearch results..." -. $LDIFFILTER < $SERVER2OUT > $SERVER2FLT +$LDIFFILTER < $SERVER2OUT > $SERVER2FLT echo "Filtering R2 slave ldapsearch results..." -. $LDIFFILTER < $SERVER3OUT > $SERVER3FLT +$LDIFFILTER < $SERVER3OUT > $SERVER3FLT echo "Filtering P1 slave ldapsearch results..." -. $LDIFFILTER < $SERVER4OUT > $SERVER4FLT +$LDIFFILTER < $SERVER4OUT > $SERVER4FLT echo "Filtering P2 slave ldapsearch results..." -. $LDIFFILTER < $SERVER5OUT > $SERVER5FLT +$LDIFFILTER < $SERVER5OUT > $SERVER5FLT echo "Filtering P3 slave ldapsearch results..." -. $LDIFFILTER < $SERVER6OUT > $SERVER6FLT +$LDIFFILTER < $SERVER6OUT > $SERVER6FLT echo "Comparing retrieved entries from master and R1 slave..." $CMP $MASTERFLT $SERVER2FLT > $CMPOUT diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index a31aa34168..9f70acb612 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -455,9 +455,9 @@ else fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif..." -. $LDIFFILTER < $PROXYCACHEOUT > $LDIFFLT +$LDIFFILTER < $PROXYCACHEOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test021-certificate b/tests/scripts/test021-certificate index 57d6e89adf..065006145d 100755 --- a/tests/scripts/test021-certificate +++ b/tests/scripts/test021-certificate @@ -307,9 +307,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$CERTIFICATETLS echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test026-dn b/tests/scripts/test026-dn index 0001007ce9..1cd61e7d10 100755 --- a/tests/scripts/test026-dn +++ b/tests/scripts/test026-dn @@ -160,9 +160,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original data..." -. $LDIFFILTER < $DNOUT > $LDIFFLT +$LDIFFILTER < $DNOUT > $LDIFFLT echo "Comparing ldapsearch results against original..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test027-emptydn b/tests/scripts/test027-emptydn index 168554d7f2..bc3d02b86f 100755 --- a/tests/scripts/test027-emptydn +++ b/tests/scripts/test027-emptydn @@ -81,7 +81,7 @@ wait LDIFOUT=$EMPTYDNOUT1 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing ldapsearch results against original..." $CMP $SEARCHFLT $LDIFOUT > $CMPOUT @@ -157,7 +157,7 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIFOUT=$EMPTYDNOUT2 echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing ldapsearch results against original..." $CMP $SEARCHFLT $LDIFOUT > $CMPOUT diff --git a/tests/scripts/test028-idassert b/tests/scripts/test028-idassert index 47f82341b6..75f1a8b60d 100755 --- a/tests/scripts/test028-idassert +++ b/tests/scripts/test028-idassert @@ -205,9 +205,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $IDASSERTOUT > $LDIFFLT +$LDIFFILTER < $IDASSERTOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -232,9 +232,9 @@ if test $USE_SASL != "no" ; then fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." - . $LDIFFILTER < $IDASSERTOUT > $LDIFFLT + $LDIFFILTER < $IDASSERTOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test029-ldapglue b/tests/scripts/test029-ldapglue index fd6d1e4718..29d9677a4f 100755 --- a/tests/scripts/test029-ldapglue +++ b/tests/scripts/test029-ldapglue @@ -149,9 +149,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDAPGLUEOUT > $LDIFFLT +$LDIFFILTER < $LDAPGLUEOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -174,9 +174,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDAPGLUEANONYMOUSOUT > $LDIFFLT +$LDIFFILTER < $LDAPGLUEANONYMOUSOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -202,9 +202,9 @@ if test $USE_SASL != "no" ; then fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." - . $LDIFFILTER < $LDAPGLUEOUT > $LDIFFLT + $LDIFFILTER < $LDAPGLUEOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test031-component-filter b/tests/scripts/test031-component-filter index 5152282614..75ef1831de 100755 --- a/tests/scripts/test031-component-filter +++ b/tests/scripts/test031-component-filter @@ -314,7 +314,7 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $COMPSEARCHOUT > $CMPOUT diff --git a/tests/scripts/test032-chain b/tests/scripts/test032-chain index 424147e39d..66e91baa4b 100755 --- a/tests/scripts/test032-chain +++ b/tests/scripts/test032-chain @@ -116,9 +116,9 @@ for P in $PORT1 $PORT2 ; do fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." - . $LDIFFILTER < $CHAINOUT > $LDIFFLT + $LDIFFILTER < $CHAINOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -140,9 +140,9 @@ for P in $PORT1 $PORT2 ; do fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." - . $LDIFFILTER < $CHAINREFOUT > $LDIFFLT + $LDIFFILTER < $CHAINREFOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -269,9 +269,9 @@ for P in $PORT1 $PORT2 ; do fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT + $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." - . $LDIFFILTER < $CHAINMODOUT > $LDIFFLT + $LDIFFILTER < $CHAINMODOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test033-glue-syncrepl b/tests/scripts/test033-glue-syncrepl index f58a36f2ca..85a9066133 100755 --- a/tests/scripts/test033-glue-syncrepl +++ b/tests/scripts/test033-glue-syncrepl @@ -137,7 +137,7 @@ echo "Waiting $SLEEP1 seconds for shadow subtrees to sync..." sleep $SLEEP1 echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $GLUESYNCOUT > $LDIFFLT +$LDIFFILTER < $GLUESYNCOUT > $LDIFFLT for P in $PORT1 $PORT2 ; do echo "Using ldapsearch to read all the entries from port $P..." @@ -152,7 +152,7 @@ for P in $PORT1 $PORT2 ; do fi echo "Filtering ldapsearch results..." - . $LDIFFILTER < "${SEARCHOUT}.${P}" > $SEARCHFLT + $LDIFFILTER < "${SEARCHOUT}.${P}" > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test034-translucent b/tests/scripts/test034-translucent index acf3454a36..2f6653858b 100755 --- a/tests/scripts/test034-translucent +++ b/tests/scripts/test034-translucent @@ -156,8 +156,8 @@ if test $RC != 0 ; then exit $RC fi -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT -. $LDIFFILTER < $LDIFTRANSLUCENTDATA > $LDIFFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $LDIFTRANSLUCENTDATA > $LDIFFLT $CMP $SEARCHFLT $LDIFFLT > $CMPOUT if test $? != 0 ; then @@ -244,7 +244,7 @@ if test $RC != 0 ; then exit $RC fi -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT $CMP $SEARCHFLT $LDIFTRANSLUCENTMERGED > $CMPOUT if test $? != 0 ; then diff --git a/tests/scripts/test035-meta b/tests/scripts/test035-meta index 36731c62cb..1dce47a547 100755 --- a/tests/scripts/test035-meta +++ b/tests/scripts/test035-meta @@ -525,9 +525,9 @@ case $RC in esac echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $METAOUT > $LDIFFLT +$LDIFFILTER < $METAOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test036-meta-concurrency b/tests/scripts/test036-meta-concurrency index 4e83b83a8f..b4f5ed1e84 100755 --- a/tests/scripts/test036-meta-concurrency +++ b/tests/scripts/test036-meta-concurrency @@ -218,9 +218,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT +$LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test037-manage b/tests/scripts/test037-manage index 8bcd50dffd..22d6bd5c56 100755 --- a/tests/scripts/test037-manage +++ b/tests/scripts/test037-manage @@ -201,9 +201,9 @@ fi LDIF=$MANAGEOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test039-glue-ldap-concurrency b/tests/scripts/test039-glue-ldap-concurrency index 9a97619d5b..4892d1ee85 100755 --- a/tests/scripts/test039-glue-ldap-concurrency +++ b/tests/scripts/test039-glue-ldap-concurrency @@ -207,9 +207,9 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT +$LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test040-subtree-rename b/tests/scripts/test040-subtree-rename index f4c0f24188..831c1e4c37 100755 --- a/tests/scripts/test040-subtree-rename +++ b/tests/scripts/test040-subtree-rename @@ -194,9 +194,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$SUBTREERENAMEOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test041-aci b/tests/scripts/test041-aci index a5182bdabb..88b6234f26 100755 --- a/tests/scripts/test041-aci +++ b/tests/scripts/test041-aci @@ -243,9 +243,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$ACIOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test042-valsort b/tests/scripts/test042-valsort index e7b7528261..8566a1f1f5 100755 --- a/tests/scripts/test042-valsort +++ b/tests/scripts/test042-valsort @@ -78,7 +78,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $VALSORTOUT1 > $CMPOUT @@ -124,7 +124,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $VALSORTOUT2 > $CMPOUT @@ -204,7 +204,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $VALSORTOUT3 > $CMPOUT diff --git a/tests/scripts/test043-delta-syncrepl b/tests/scripts/test043-delta-syncrepl index 294ab09f80..3510952a82 100755 --- a/tests/scripts/test043-delta-syncrepl +++ b/tests/scripts/test043-delta-syncrepl @@ -339,9 +339,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT | grep -iv "^auditcontext:" > $MASTERFLT +$LDIFFILTER < $MASTEROUT | grep -iv "^auditcontext:" > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT | grep -iv "^auditcontext:" > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT | grep -iv "^auditcontext:" > $SLAVEFLT echo "Comparing retrieved entries from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test044-dynlist b/tests/scripts/test044-dynlist index cc31a81888..4f1219dc1d 100755 --- a/tests/scripts/test044-dynlist +++ b/tests/scripts/test044-dynlist @@ -603,9 +603,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$DYNLISTOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test045-syncreplication-proxied b/tests/scripts/test045-syncreplication-proxied index 1f1c9e28b1..b0791c326b 100755 --- a/tests/scripts/test045-syncreplication-proxied +++ b/tests/scripts/test045-syncreplication-proxied @@ -230,9 +230,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -420,9 +420,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -527,9 +527,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -616,9 +616,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -713,9 +713,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -758,7 +758,7 @@ if test $? != 0 ; then fi #echo "Filtering slave results..." - . $LDIFFILTER < "${SLAVEOUT}.5.1" > $SLAVEFLT + $LDIFFILTER < "${SLAVEOUT}.5.1" > $SLAVEFLT echo " ${CHECK}.1 < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -853,9 +853,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.$CHECK" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.$CHECK" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test046-dds b/tests/scripts/test046-dds index bd74150fd0..d0af563f1f 100755 --- a/tests/scripts/test046-dds +++ b/tests/scripts/test046-dds @@ -530,9 +530,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$DDSOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test047-ldap b/tests/scripts/test047-ldap index fa8c104322..66322df549 100755 --- a/tests/scripts/test047-ldap +++ b/tests/scripts/test047-ldap @@ -525,9 +525,9 @@ case $RC in esac echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $METAOUT > $LDIFFLT +$LDIFFILTER < $METAOUT > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test048-syncrepl-multiproxy b/tests/scripts/test048-syncrepl-multiproxy index 7855629542..4320eac9ca 100755 --- a/tests/scripts/test048-syncrepl-multiproxy +++ b/tests/scripts/test048-syncrepl-multiproxy @@ -185,9 +185,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.1" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.1" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.1" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.1" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and P1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -210,7 +210,7 @@ if test $RC != 0 ; then fi #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.1" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.1" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and R1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -369,9 +369,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.2" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.2" > $MASTERFLT #echo "Filtering P1 slave results..." -. $LDIFFILTER < "${SLAVEOUT}.2" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.2" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and P1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -394,7 +394,7 @@ if test $RC != 0 ; then fi #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.2" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.2" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and R1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -480,9 +480,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.3" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.3" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.3" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.3" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and P1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -505,7 +505,7 @@ if test $RC != 0 ; then fi #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.3" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.3" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and R1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -561,9 +561,9 @@ if test $RC != 0 ; then fi #echo "Filtering master results..." -. $LDIFFILTER < "${MASTEROUT}.4" > $MASTERFLT +$LDIFFILTER < "${MASTEROUT}.4" > $MASTERFLT #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.4" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.4" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and P1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -586,7 +586,7 @@ if test $RC != 0 ; then fi #echo "Filtering slave results..." -. $LDIFFILTER < "${SLAVEOUT}.4" > $SLAVEFLT +$LDIFFILTER < "${SLAVEOUT}.4" > $SLAVEFLT echo "$CHECK < Comparing retrieved entries from master and R1 slave..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test049-sync-config b/tests/scripts/test049-sync-config index 8ca33320dc..b23d78ba01 100755 --- a/tests/scripts/test049-sync-config +++ b/tests/scripts/test049-sync-config @@ -348,9 +348,9 @@ if test $RC != 0 ; then fi echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT > $SLAVEFLT echo "Comparing retrieved configs from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT @@ -386,9 +386,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT > $SLAVEFLT echo "Comparing retrieved entries from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test050-syncrepl-multimaster b/tests/scripts/test050-syncrepl-multimaster index 884faaa69d..c6ede2952d 100755 --- a/tests/scripts/test050-syncrepl-multimaster +++ b/tests/scripts/test050-syncrepl-multimaster @@ -355,7 +355,7 @@ if test $RC != 0 ; then exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -388,7 +388,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -433,7 +433,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -483,7 +483,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -546,7 +546,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -610,7 +610,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done @@ -762,7 +762,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi -. $LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt +$LDIFFILTER < $TESTDIR/server$n.out > $TESTDIR/server$n.flt n=`expr $n + 1` done diff --git a/tests/scripts/test052-memberof b/tests/scripts/test052-memberof index 22a45d2686..8dc24f7848 100755 --- a/tests/scripts/test052-memberof +++ b/tests/scripts/test052-memberof @@ -330,9 +330,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$MEMBEROFOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT diff --git a/tests/scripts/test054-syncreplication-parallel-load b/tests/scripts/test054-syncreplication-parallel-load index 585da2189a..a7f0357797 100755 --- a/tests/scripts/test054-syncreplication-parallel-load +++ b/tests/scripts/test054-syncreplication-parallel-load @@ -363,9 +363,9 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS echo "Filtering producer results..." -. $LDIFFILTER < $MASTEROUT > $MASTERFLT +$LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." -. $LDIFFILTER < $SLAVEOUT > $SLAVEFLT +$LDIFFILTER < $SLAVEOUT > $SLAVEFLT echo "Comparing retrieved entries from producer and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT diff --git a/tests/scripts/test056-monitor b/tests/scripts/test056-monitor index 29a5427eee..28d59d03b9 100755 --- a/tests/scripts/test056-monitor +++ b/tests/scripts/test056-monitor @@ -69,9 +69,9 @@ fi # Compare results, ignoring possible difference of IPv4/IPv6 localhost address localrewrite='s/=127\.0\.0\.1:/=LOCAL:/; s/=\[::1\]:/=LOCAL:/' echo "Filtering ldapsearch results..." -sed -e "$localrewrite" < $SEARCHOUT | . $LDIFFILTER > $SEARCHFLT +sed -e "$localrewrite" < $SEARCHOUT | $LDIFFILTER > $SEARCHFLT echo "Filtering expected data..." -. $CONFFILTER < $MONITOROUT1 | sed -e "$localrewrite" | . $LDIFFILTER > $LDIFFLT +. $CONFFILTER < $MONITOROUT1 | sed -e "$localrewrite" | $LDIFFILTER > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT @@ -97,7 +97,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT TMPMONITOROUT2=$MONITOROUT2 case $BACKEND in @@ -132,7 +132,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $MONITOROUT3 > $CMPOUT @@ -157,7 +157,7 @@ if test $RC != 0 ; then fi echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Comparing filter output..." $CMP $SEARCHFLT $MONITOROUT4 > $CMPOUT diff --git a/tests/scripts/test057-memberof-refint b/tests/scripts/test057-memberof-refint index 34f6a15277..989b9f4bb8 100755 --- a/tests/scripts/test057-memberof-refint +++ b/tests/scripts/test057-memberof-refint @@ -256,9 +256,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$MEMBEROFREFINTOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT