]> git.sur5r.net Git - openldap/commitdiff
ITS#4336 - Fix regression test to be valid
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Feb 2018 23:50:17 +0000 (23:50 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Feb 2018 23:50:17 +0000 (23:50 +0000)
tests/data/regressions/its4336/its4336

index 9ed231386c5511f44962319b4f31995ce83debfe..62ee53b77bc8a9eae4924b97fbcfadf854122148 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 $RETCODE = retcodeno; then 
        echo "Retcode overlay 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