diff options
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-x | source4/script/tests/test_functions.sh | 10 |
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 |