added attr strip test

This commit is contained in:
Pierangelo Masarati 2003-02-05 12:40:08 +00:00
parent 85bdf79337
commit 8547e09c6e
2 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,7 @@ replogfile ./test-db/slapd.replog
replica host=localhost:9010
suffix="ou=Groups,o=University of Michigan,c=US"
attr!=description
binddn="cn=Replica,ou=Groups,o=University of Michigan,c=US"
bindmethod=simple
credentials=secret

View File

@ -224,7 +224,7 @@ SEARCHOUT=$SUBMASTEROUT
LDIF=$SLAVEOUT
echo "Filtering master ldapsearch results..."
. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
. $LDIFFILTER < $SEARCHOUT | egrep -iv ^description > $SEARCHFLT
echo "Filtering slave ldapsearch results..."
. $LDIFFILTER < $LDIF > $LDIFFLT
@ -239,14 +239,14 @@ fi
SEARCHOUT=$MASTEROUT
echo "Filtering remaining data"
. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
. $LDIFFILTER < $SEARCHOUT | egrep -iv ^description > $SEARCHFLT
echo "Stripping slave entries from master output..."
$CMP $SEARCHFLT $LDIFFLT | $UNDIFFFILTER > $SUBFLT
echo "Stripping subtree entries from master output..."
. $SUBFILTER 'ou=Groups,[ ]?o=University of Michigan,[ ]?c=US' < $SEARCHOUT \
| $UNDIFFFILTER > $SUBFLT2
| $UNDIFFFILTER | egrep -iv ^description > $SUBFLT2
echo "Comparing master minus subtree and master minus slave..."
$CMP $SUBFLT $SUBFLT2 > $CMPOUT