I got failure because the entries were in a different order:
[quanah@freelancer testrun]$ diff -u ldapsearch.flt ldif.flt --- ldapsearch.flt 2009-01-20 13:50:56.000000000 -0800 +++ ldif.flt 2009-01-20 13:50:56.000000000 -0800 @@ -14,15 +14,6 @@ telephoneNumber: +1 313 555 1817 associatedDomain: example.com
-dn: cn=Manager,dc=example,dc=com -objectClass: person -cn: Manager -cn: Directory Manager -cn: Dir Man -sn: Manager -description: Manager of the directory -userPassword:: c2VjcmV0 - dn: ou=People,dc=example,dc=com objectClass: organizationalUnit objectClass: extensibleObject @@ -105,6 +96,15 @@ facsimileTelephoneNumber: +1 313 555 2756 telephoneNumber: +1 313 555 8232
+dn: cn=Manager,dc=example,dc=com +objectClass: person +cn: Manager +cn: Directory Manager +cn: Dir Man +sn: Manager +description: Manager of the directory +userPassword:: c2VjcmV0 + dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com objectClass: OpenLDAPperson cn: Mark Elliot
We may need to change the expectations for this test if ldif is the database.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration