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

Re: (ITS#4253) val.regex broken




--On Tuesday, December 13, 2005 10:16 PM +0100 Pierangelo Masarati 
<ando@sys-net.it> wrote:

> On Tue, 2005-12-13 at 13:07 -0800, Quanah Gibson-Mount wrote:
>
>> Um, the above patch does nothing with search bases, I don't see how it
>> applies to what you say at all.  In fact, all it does is use different
>> version of slapd, or runs it under valgrind, and there is nothing wrong
>> with using "../servers/slapd/slapd -s0", since I specifically want to
>> test  the slapd in that location.
>
> __exactly__ ! that's __instead__ of pulling in changes; simply use slapd
> from re23 in HEAD test dir, so that HEAD tests get run by re23 slapd.
> That's the issue.

Ah, okay, I see what you are saying.

>>
>> Perhaps there are other changes to defines.sh that have been done (I'll
>> go  check that now).
>
> The changes I mention are tests/scripts/defines.sh 1.133 -> 1.134

I've pulled those changes into my 2.3 defines.sh, and the test still fails, 
but now the dn: bits are gone :)


sundial1:/usr/local/build/openldap-2.3.13/tests/testrun> diff -u ldif.flt 
ldapsearch.flt
--- ldif.flt    2005-12-13 13:10:09.000000000 -0800
+++ ldapsearch.flt      2005-12-13 13:10:09.000000000 -0800
@@ -16,6 +16,26 @@
 facsimileTelephoneNumber: +1 313 555 4332
 telephoneNumber: +1 313 555 0895

+dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com
+
+dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com
+cn: Mark Elliot
+
+dn: cn=John Doe,ou=Information Technology 
Division,ou=People,dc=example,dc=com
+cn: John Doe
+
+dn: cn=John Doe,ou=Information Technology 
Division,ou=People,dc=example,dc=com
+cn: Jonathon Doe
+
+dn: cn=Bjorn Jensen,ou=Information Technology 
Division,ou=People,dc=example,dc
+ =com
+cn: Bjorn Jensen
+
+dn: cn=Barbara Jensen,ou=Information Technology 
Division,ou=People,dc=example,
+ dc=com
+cn: Barbara Jensen
+cn: Babs Jensen
+
 dn: ou=Add & Delete,dc=example,dc=com
 objectClass: organizationalUnit
 ou: Add & Delete
@@ -95,8 +115,6 @@
 dn: cn=Bjorn Jensen,ou=Information Technology 
Division,ou=People,dc=example,dc
  =com
 objectClass: OpenLDAPperson
-cn: Bjorn Jensen
-cn: Biiff Jensen
 sn: Jensen
 uid: bjorn
 seeAlso: cn=All Staff,ou=Groups,dc=example,dc=com
@@ -311,8 +329,6 @@

 dn: cn=John Doe,ou=Information Technology 
Division,ou=People,dc=example,dc=com
 objectClass: OpenLDAPperson
-cn: John Doe
-cn: Jonathon Doe
 sn: Doe
 uid: johnd
 postalAddress: ITD $ 535 W. William $ Anytown, MI 48109

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html