ITS#4326 - Fix regression test so it operates correctly

This commit is contained in:
Quanah Gibson-Mount 2018-02-12 23:48:05 +00:00
parent 6f9a9ca825
commit 302af6a0e7
2 changed files with 9 additions and 4 deletions

View file

@ -16,10 +16,15 @@
echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
if test $BACKLDAP != "ldapno" ; then
if test $BACKLDAP = "ldapno" ; then
echo "LDAP backend not available, test skipped"
exit 0
fi
fi
if test $BACKEND = "ldap" ; then
echo "LDAP backend not valid, test skipped"
exit 0
fi
mkdir -p $TESTDIR $DBDIR1 $DBDIR2

View file

@ -24,8 +24,8 @@ include @DATADIR@/test.schema
pidfile @TESTDIR@/slapd.2.pid
argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-ldap/
#mod#moduleload back_ldap.la
#ldapmod#modulepath ../servers/slapd/back-ldap/
#ldapmod#moduleload back_ldap.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la