]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test006-acls
Add cn=monitor, cn=config, cn=schema to namingContexts.
[openldap] / tests / scripts / test006-acls
index eddf1f5e2c112007184c7544382813e45f00232c..58d12154074923e69fd9a3a2e8135243cb724661 100755 (executable)
@@ -114,8 +114,15 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-echo "Comparing database to reference file"
-cmp $SEARCHOUT $ACLOUTMASTER
+LDIF=$ACLOUTMASTER
+
+echo "Filtering ldapsearch results..."
+. $SRCDIR/scripts/acfilter.sh < $SEARCHOUT > $SEARCHFLT
+echo "Filtering original ldif used to create database..."
+. $SRCDIR/scripts/acfilter.sh < $LDIF > $LDIFFLT
+echo "Comparing filter output..."
+cmp $SEARCHFLT $LDIFFLT
+
 if test $? != 0 ; then
        echo "comparison failed - modify operations did not complete correctly"
        exit 1