]> git.sur5r.net Git - openldap/commitdiff
Define env.variable SLAPD_DEBUG to override the default debug level
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 2 Apr 1999 05:55:58 +0000 (05:55 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 2 Apr 1999 05:55:58 +0000 (05:55 +0000)
tests/README
tests/scripts/defines.sh

index 1e4633b675cd68b0d8484f7efe34d534029f2482..776545e88a75016b5f7b19f9b02d9820de334f24 100644 (file)
@@ -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.
index 8d84c1f72611038b140a31105b604c6b30ce2eb4..b851971146887233ca505a58f20d29e9fd58a011 100755 (executable)
@@ -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