]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/conf.sh
ITS#2401 support tests for dynamically loaded backends
[openldap] / tests / scripts / conf.sh
index 28978c50171aa215693d58933eeb3a43a83a11e0..147a9a2ccb45149f457a9a3004eba96e88a12273 100755 (executable)
@@ -5,7 +5,11 @@ if [ x"$MONITORDB" = x"yes" ] ; then
 else
        MON=nomonitor
 fi
+if [ x"$BACKENDTYPE" = x"mod" ]; then
+       MODULELOAD="moduleload  back_${BACKEND}.la"
+fi
 sed -e "s/@BACKEND@/${BACKEND}/"       \
+       -e "s/@MODULELOAD@/${MODULELOAD}/" \
        -e "s/^#${BACKEND}#//"                  \
        -e "s/^#${MON}#//"                              \
        -e "s/@PORT@/${PORT}/"                  \