summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-xsource4/script/tests/test_functions.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh
index f92f4c6632..9efe204a35 100755
--- a/source4/script/tests/test_functions.sh
+++ b/source4/script/tests/test_functions.sh
@@ -65,6 +65,16 @@ smbd_have_test_log() {
return 1;
}
+slapd_start() {
+ OLDPATH=$PATH
+ PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
+ export PATH
+ slapd -f $SLAPD_CONF -h $LDAPI_ESCAPE
+ PATH=$OLDPATH
+ export PATH
+ return 0;
+}
+
testit() {
if [ -z "$PREFIX" ]; then
PREFIX=test_prefix