ITS#4336 - Fix regression test to be valid

This commit is contained in:
Quanah Gibson-Mount 2018-02-12 23:50:17 +00:00
parent 302af6a0e7
commit f535d06d07

View file

@ -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