From: Hallvard Furuseth Date: Fri, 2 Apr 1999 05:55:58 +0000 (+0000) Subject: Define env.variable SLAPD_DEBUG to override the default debug level X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~278 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=adab14395bdd9de1415d066a15b6621ad6c59483;p=openldap Define env.variable SLAPD_DEBUG to override the default debug level --- diff --git a/tests/README b/tests/README index 1e4633b675..776545e88a 100644 --- a/tests/README +++ b/tests/README @@ -1,3 +1,6 @@ This directory contains a series of test scripts which are used to verify basic functionality of the LDAP libraries, slapd, and slurpd. To run the tests, type "make" in the ./tests directory. + +To modify the debug level the tests run slapd with, set the SLAPD_DEBUG +environment variable. diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 8d84c1f726..b851971146 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -34,7 +34,7 @@ LDAPMODIFY=../clients/tools/ldapmodify LDAPADD=../clients/tools/ldapadd LDAPMODRDN=../clients/tools/ldapmodrdn SLAPDTESTER=$PROGDIR/slapd-tester -LVL=5 +LVL=${SLAPD_DEBUG-5} ADDR=127.0.0.1 PORT=9009 SLAVEPORT=9010