]> git.sur5r.net Git - openldap/commitdiff
ITS#4326 - Fix regression test so it operates correctly
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Feb 2018 23:48:05 +0000 (23:48 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Feb 2018 23:48:05 +0000 (23:48 +0000)
tests/data/regressions/its4326/its4326
tests/data/regressions/its4326/slapd.conf

index e70589761aa96184a8bf1142f47fa25e9e3c631c..96ba6f0cb6e3e0d2c42480a0dc65b696018226bc 100755 (executable)
 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
 
index a864e7ed8850f9940f53419c294fd66cd0cba4fb..79557887b6f1426cbcee0241f199a8063045ef19 100644 (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