From 33dd61f03535457e017976b4a08e0616d5f3c931 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Jun 1999 23:46:16 +0000 Subject: [PATCH] Add support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3. 3 doesn't work YET. --- tests/scripts/defines.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 4060a0ec15..695c2903f8 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -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 -- 2.39.5