1998-08-09 08:43:13 +08:00
|
|
|
This directory contains a series of test scripts which are used to
|
2007-09-01 07:09:20 +08:00
|
|
|
verify basic functionality of the LDAP libraries and slapd.
|
1999-04-12 05:47:42 +08:00
|
|
|
|
|
|
|
To run all of the tests, type "make test".
|
2011-09-02 07:56:56 +08:00
|
|
|
To run MDB tests, type "make mdb".
|
2004-08-24 17:26:39 +08:00
|
|
|
To run SQL tests, define SLAPD_USE_SQL=<rdbms> and type
|
|
|
|
"make sql"; define SLAPD_USE_SQLWRITE=yes
|
|
|
|
to enable write tests as well.
|
2005-12-22 21:00:11 +08:00
|
|
|
To run regression tests, type "make regressions"
|
1999-04-02 13:55:58 +08:00
|
|
|
|
2002-09-27 05:37:05 +08:00
|
|
|
The test scripts depends on a number of tools commonly available on
|
|
|
|
Unix (and Unix-like) systems. While attempts have been made to make
|
2008-06-05 20:59:22 +08:00
|
|
|
these scripts reasonably portable, they may not run properly on your
|
2002-09-27 05:37:05 +08:00
|
|
|
system. You may have to adjust your path so that compatible versions
|
|
|
|
of tools used are available to the scripts and/or you may have to
|
|
|
|
install replacement tools. Platform specific hints may be found at:
|
|
|
|
http://www.openldap.org/faq/index.cgi?file=9
|
|
|
|
|
1999-04-02 13:55:58 +08:00
|
|
|
To modify the debug level the tests run slapd with, set the SLAPD_DEBUG
|
|
|
|
environment variable.
|
2000-06-05 15:17:51 +08:00
|
|
|
env SLAPD_DEBUG=1 make test
|
|
|
|
|