]> git.sur5r.net Git - openldap/commitdiff
Add support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 23:46:16 +0000 (23:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 23:46:16 +0000 (23:46 +0000)
3 doesn't work YET.

tests/scripts/defines.sh

index 4060a0ec15be7482310125f13d594ce9ee5a23af..695c2903f87ab252bb0efc4ca45efa1da8faad2a 100755 (executable)
@@ -17,6 +17,12 @@ else
        SLAVECONF=$DATADIR/slapd-repl-slave.conf
 fi
 
+if test "$LDAP_PROTO" ; then
+       PROTO="-P $LDAP_PROTO"
+else
+       PROTO=""
+fi
+
 PASSWDCONF=$DATADIR/slapd-passwd.conf
 
 CLIENTDIR=../clients/tools
@@ -24,10 +30,10 @@ CLIENTDIR=../clients/tools
 
 SLAPD=../servers/slapd/slapd
 SLURPD=../servers/slurpd/slurpd
-LDAPSEARCH=$CLIENTDIR/ldapsearch
-LDAPMODIFY=$CLIENTDIR/ldapmodify
-LDAPADD=$CLIENTDIR/ldapadd
-LDAPMODRDN=$CLIENTDIR/ldapmodrdn
+LDAPSEARCH="$CLIENTDIR/ldapsearch $PROTO"
+LDAPMODIFY="$CLIENTDIR/ldapmodify $PROTO"
+LDAPADD="$CLIENTDIR/ldapadd $PROTO"
+LDAPMODRDN="$CLIENTDIR/ldapmodrdn $PROTO"
 SLAPDTESTER=$PROGDIR/slapd-tester
 LVL=${SLAPD_DEBUG-5}
 ADDR=127.0.0.1