From 232bc1503fc0e3f85b4711f077d2566dc0f0c823 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 May 2004 04:27:29 +0000 Subject: r490: - expanded the test suite to test modify and delete operations - made yet another attempt to make ldb const clean. - "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility with and without indexing - added prototypes in ldb.h for ldb_msg_*() public functions (This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3) --- source4/lib/ldb/tests/init_slapd.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/init_slapd.sh') diff --git a/source4/lib/ldb/tests/init_slapd.sh b/source4/lib/ldb/tests/init_slapd.sh index 67eecb031c..65700f6c18 100755 --- a/source4/lib/ldb/tests/init_slapd.sh +++ b/source4/lib/ldb/tests/init_slapd.sh @@ -5,7 +5,11 @@ export PATH=/usr/sbin:$PATH rm -rf tests/tmp/db mkdir -p tests/tmp/db -killall slapd +if pidof slapd > /dev/null; then + killall slapd +fi sleep 2 -killall -9 slapd +if pidof slapd > /dev/null; then + killall -9 slapd +fi slapadd -f tests/slapd.conf < tests/init.ldif || exit 1 -- cgit