mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
35655c056f
Old code applied sync flags to store(), however supported DBMs require such flags to be specified during open(). The new code now applies flags in ldbm_cache_open (which calls ldbm_open). ldbm_cache_close() now calls ldbm_sync(). This will force a updating of on-disk contents after each LDAP operation. The old code either failed to sync the on-disk contents until close or synced on every store. Per LDBM operation syncing *should* be safe enough... real data safety requires transactions. Removed nosync option from BDB2 as it is not compatible with txn support. Also added code to disable DBM level locking as slapd is only process acessing the databases (dbnolocking). |
||
---|---|---|
.. | ||
data | ||
progs | ||
scripts | ||
Makefile.in | ||
README |
This directory contains a series of test scripts which are used to verify basic functionality of the LDAP libraries, slapd, and slurpd. To run all of the tests, type "make test". To run LDBM tests, type "make ldbm". To run BDB2 tests, type "make bdb2". To modify the debug level the tests run slapd with, set the SLAPD_DEBUG environment variable.