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

Re: (ITS#4253) val.regex broken



On Tue, 2005-12-13 at 12:28 -0800, Quanah Gibson-Mount wrote:

> Empty dn: values?!

No, the test uses some variables defined in scripts/defines.sh as
searchBase; since you didn't pull them in, your search used "" as
searchBase.  To test this with 2.3, I suggest you rather stay within
HEAD testing directory, and modify scripts/defines.sh as below:

Index: tests/scripts/defines.sh
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/defines.sh,v
retrieving revision 1.134
diff -u -r1.134 defines.sh
--- tests/scripts/defines.sh    9 Dec 2005 11:18:29 -0000       1.134
+++ tests/scripts/defines.sh    13 Dec 2005 20:58:42 -0000
@@ -135,6 +135,9 @@
 BCMP="diff -iB"
 CMPOUT=/dev/null
 SLAPD="../servers/slapd/slapd -s0"
+#SLAPD="../../ldap-2.3/servers/slapd/slapd -s0"
+#SLAPD="/usr/local/valgrind-3.0.1/bin/valgrind --tool=memcheck --trace-children=yes --num-callers=10 --leak-check=yes --show-reachable=yes ../servers/slapd/slapd -s0"
+#SLAPD="/usr/local/valgrind-3.0.1/bin/valgrind --tool=memcheck --trace-children=yes --num-callers=10 --leak-check=yes --show-reachable=yes ../../ldap-2.3/servers/slapd/slapd -s0"
 SLURPD=../servers/slurpd/slurpd
 LDAPPASSWD="$CLIENTDIR/ldappasswd $TOOLARGS"
 LDAPSASLSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $LDAP_TOOLARGS -LLL"

Then you can uncomment the version of slapd you want to use to run the
test.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------