[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: test suite data



--On Wednesday, June 04, 2008 7:35 PM -0700 Howard Chu <hyc@symas.com> wrote:

I'm currently trying to run "make test" with back-ndb and most of the
comparisons fail even though the backend is behaving correctly.
   1) back-ndb always fills in all objectclasses in the objectclass
chain, while the test.ldif files omit most of the superior classes.
   2) back-ndb always returns attributes in the order they were defined
in their corresponding objectclass definition, instead of preserving
whatever order they were submitted in.

Any thoughts on how to address this?

Hm, for #2, some sort of intelligent sort, since LDAP doesn't support the concept of ordered results, any test relying on order is fundamentally flawed. ;) That'd deal with all backends correctly, I would think.


#1 has always somewhat annoyed me, since I'd generally think you would see all relevant objectClasses included in an objects output. Is there an RFC covering it either way?

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration