openldap/tests
Arran Cudbard-Bell 163da8d217
slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes
The default behaviour of fopen() when called on a named pipe which does not have any reader, is to block, until a reader opens the pipe.  This blocks slapo-auditlog when it attempts to write output.  Depending on how critical the audit log  is, it may be preferable to discard audit log output and continue processing requests if there's no reader available.

For clarity the call to fopen() is removed and replaced with open()/fdopen(), allowing us to specify O_* flags as opposed to using fopen() or open()/fdopen(). 0666 are the base permissions used by fopen() when files are created.
2025-07-03 11:18:51 -06:00
..
data ITS#10169 Allow a Compare against oathSecret 2025-06-20 23:45:43 +00:00
modules Happy New Year! 2024-03-26 19:45:07 +00:00
progs Happy New Year! 2024-03-26 19:45:07 +00:00
python Happy New Year! 2024-03-26 19:45:07 +00:00
scripts slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes 2025-07-03 11:18:51 -06:00
Makefile.in ITS#10163 More configure munging 2024-04-05 15:42:04 +00:00
README ITS#9463 cumulative fix for back-wt 2021-08-07 19:27:43 +00:00
run.in build: Set OS_WINDOWS in scripts/defines.sh to aid with Windows detection in test cases 2025-07-01 07:57:59 -04: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 WT tests, type "make wt".
	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