diff options
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-x | source4/script/tests/test_functions.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index 9b869782cd..7f363fd04a 100755 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -77,6 +77,13 @@ slapd_start() { return $?; } +fedora_ds_start() { +# running slapd in the background means it stays in the same process group, so it can be +# killed by timelimit + $FEDORA_DS_PREFIX/sbin/ns-slapd -D $FEDORA_DS_DIR -d0 & + return $?; +} + testit() { name=$1 shift 1 |