openldap/tests
Ryan Tandy e006994d83 Fix slaptest in test077
The libtool wrapper scripts lose argv[0] when exec'ing the real binary.

In the CI Docker container, where the build runs as root, this was
actually starting a real slapd on the default port.

Outside Docker, running as a non-root user, this slapd would just fail
to start, and wouldn't convert the config either.

Using "slapd -Tt" fixes the issue but also prints a warning from
slaptest since the database hasn't been initialized yet.

Dynamic config isn't actually used in this test script, so let's just
run slapd off the config file directly.
2020-04-28 11:21:17 -07:00
..
data ITS#7573 Create regression test 2020-04-27 16:21:12 +00:00
progs ITS#6937 - Remove unused proctitle bits 2020-04-15 19:32:28 +00:00
scripts Fix slaptest in test077 2020-04-28 11:21:17 -07:00
Makefile.in Happy New Year! 2020-01-09 16:50:21 +00:00
README ITS#9010 - Delete back-bdb/back-hdb 2019-05-13 17:20:28 +00:00
run.in ITS#7573 Create regression test 2020-04-27 16:21:12 +00:00

This directory contains a series of test scripts which are used to
verify basic functionality of the LDAP libraries and slapd.

	To run all of the tests, type "make test".
	To run MDB tests, type "make mdb".
	To run SQL tests, define SLAPD_USE_SQL=<rdbms> and type
		"make sql"; define SLAPD_USE_SQLWRITE=yes
		to enable write tests as well.
	To run regression tests, type "make regressions"

The test scripts depends on a number of tools commonly available on
Unix (and Unix-like) systems.  While attempts have been made to make
these scripts reasonably portable, they may not run properly on your
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

To modify the debug level the tests run slapd with, set the SLAPD_DEBUG
environment variable.
	env SLAPD_DEBUG=1 make test