From: Quanah Gibson-Mount Date: Mon, 12 Feb 2018 23:50:17 +0000 (+0000) Subject: ITS#4336 - Fix regression test to be valid X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f535d06d0741ecd6b1312c9e83b0c05dc4e79f6e;p=openldap ITS#4336 - Fix regression test to be valid --- diff --git a/tests/data/regressions/its4336/its4336 b/tests/data/regressions/its4336/its4336 index 9ed231386c..62ee53b77b 100755 --- a/tests/data/regressions/its4336/its4336 +++ b/tests/data/regressions/its4336/its4336 @@ -16,15 +16,20 @@ 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